ABLE, Version 1.1b

com.ibm.able.beans
Class AbleEffector

java.lang.Object
  |
  +--com.ibm.able.beans.AbleAtom
        |
        +--com.ibm.able.beans.AbleMethodAdaptor
              |
              +--com.ibm.able.beans.AbleEffector

public class AbleEffector
extends AbleMethodAdaptor

An Effector is an encapsulated (named) method used by an Agent

Version:
1.0.0; change log:
 Version   Description
 --------  -----------
 1.0.0     Initial release.

 
See Also:
AbleAtom, Serialized Form

Fields inherited from class com.ibm.able.beans.AbleMethodAdaptor
argList, method, methodName, sourceObj
 
Fields inherited from class com.ibm.able.beans.AbleAtom
name, value
 
Constructor Summary
AbleEffector(java.lang.String anEffectorName, java.lang.Object aSource, java.lang.reflect.Method aMethod)
          Create a new effector with the specified name, and encapsulate the specified method of the specified object.
AbleEffector(java.lang.String anEffectorName, java.lang.Object aSource, java.lang.String aMethodName, java.lang.Class[] args)
          Create a new effector with the specified name, and encapsulate the specified method of the specified object.
 
Methods inherited from class com.ibm.able.beans.AbleMethodAdaptor
invoke, toString
 
Methods inherited from class com.ibm.able.beans.AbleAtom
getName, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbleEffector

public AbleEffector(java.lang.String anEffectorName,
                    java.lang.Object aSource,
                    java.lang.String aMethodName,
                    java.lang.Class[] args)
             throws java.lang.NoSuchMethodException
Create a new effector with the specified name, and encapsulate the specified method of the specified object.
Parameters:
anEffectorName - the name of the effector which can referenced by rules
aSource - the object whose method is invoked
aMethodName - the name of the method to invoke
args - the parameter list of the method
Throws:
java.lang.NoSuchMethodException - the method or method signature if not defined in the source object

AbleEffector

public AbleEffector(java.lang.String anEffectorName,
                    java.lang.Object aSource,
                    java.lang.reflect.Method aMethod)
Create a new effector with the specified name, and encapsulate the specified method of the specified object.
Parameters:
anEffectorName - the name of the effector which can referenced by rules
aSource - the object whose method is invoked
aMethod - the method to invoke

ABLE, Version 1.1b

ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'