|
ABLE, Version 1.1b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An EffectorManager manages a set of effectors, named method objects
Method Summary | |
void |
addEffector(AbleEffector theEffector)
Add an effector to the list of effectors. |
java.util.Hashtable |
getEffectors()
Get all effectors registered with this manager. |
java.lang.Object |
invokeEffector(java.lang.String theEffectorName,
java.lang.Object[] theArgs)
Call the method that the effector represents, passing in the array of argument objects. |
void |
removeEffector(java.lang.String theEffectorName)
Remove an effector from the list of effectors. |
void |
setEffectors(java.util.Hashtable theEffectors)
Set all effectors for this manager. |
Method Detail |
public void addEffector(AbleEffector theEffector) throws java.rmi.RemoteException
theEffector
- The effector to be added to the list of effectors.
public void removeEffector(java.lang.String theEffectorName) throws java.rmi.RemoteException
theEffectorName
- The name of the effector to be removed.
public java.lang.Object invokeEffector(java.lang.String theEffectorName, java.lang.Object[] theArgs) throws java.rmi.RemoteException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException, java.lang.SecurityException
theEffectorName
- The name of the effector containing an encapsulated method.
theArgs
- An array of arguments that the method expects.
public void setEffectors(java.util.Hashtable theEffectors) throws java.rmi.RemoteException
theEffectors
- A list of AbleEffector objects that replaces the
current list. The input list is cloned.
public java.util.Hashtable getEffectors() throws java.rmi.RemoteException
|
ABLE, Version 1.1b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |