SmartFrog 3.10.000

org.smartfrog.sfcore.logging
Class ActionThread

java.lang.Object
  extended by org.smartfrog.sfcore.logging.ActionThread
All Implemented Interfaces:
java.lang.Runnable

public class ActionThread
extends java.lang.Object
implements java.lang.Runnable

Generic Action thread launcher


Method Summary
 ActionThread executeAction()
          Thread body launches method with arguments given from object specified
 ActionThread executeAction(java.lang.reflect.Method method)
          Thread body launches method with arguments given from object specified
 void run()
          Run method for Action thread
 ActionThread setAction(Log[] actions)
          Set the Action object
 ActionThread setMethod(java.lang.reflect.Method method, java.lang.Object[] args)
          Set the method to invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

run

public void run()
Run method for Action thread

Specified by:
run in interface java.lang.Runnable

executeAction

public ActionThread executeAction(java.lang.reflect.Method method)
Thread body launches method with arguments given from object specified

Parameters:
method - method to invoke
Returns:
ActionThread

executeAction

public ActionThread executeAction()
Thread body launches method with arguments given from object specified

Returns:
ActionThread

setAction

public ActionThread setAction(Log[] actions)
Set the Action object

Parameters:
actions - Action object in where to invoke method in a separate thread
Returns:
ActionThread

setMethod

public ActionThread setMethod(java.lang.reflect.Method method,
                              java.lang.Object[] args)
Set the method to invoke

Parameters:
method - method to invoke
args - Action object in where to invoke method in a separate thread
Returns:
ActionThread

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP