com.ibm.able.beans
Class AbleSensor
java.lang.Object
|
+--com.ibm.able.beans.AbleAtom
|
+--com.ibm.able.beans.AbleMethodAdaptor
|
+--com.ibm.able.beans.AbleSensor
- public class AbleSensor
- extends AbleMethodAdaptor
A Sensor is a named Atom that makes a method call to retrieve its value.
- Version:
- 1.0.0; change log:
Version Description
-------- -----------
1.0.0 Initial release.
- See Also:
AbleAtom
, Serialized Form
Constructor Summary |
AbleSensor(java.lang.String aSensorName,
java.lang.Object aSource,
java.lang.reflect.Method aMethod)
Create a new sensor with the specified name, and encapsulate the
specified method of the specified object. |
AbleSensor(java.lang.String aSensorName,
java.lang.Object aSource,
java.lang.String aMethodName,
java.lang.Class[] args)
Create a new sensor with the specified name, and encapsulate the
specified method of the specified object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
AbleSensor
public AbleSensor(java.lang.String aSensorName,
java.lang.Object aSource,
java.lang.String aMethodName,
java.lang.Class[] args)
throws java.lang.NoSuchMethodException
- Create a new sensor with the specified name, and encapsulate the
specified method of the specified object.
- Parameters:
aSensorName
- the name of the sensor which can referenced by rulesaSource
- the object whose method is invokedaMethodName
- the name of the method to invokeargs
- the parameter list of the method- Throws:
- java.lang.NoSuchMethodException - the method or method signature if not defined in the source object
AbleSensor
public AbleSensor(java.lang.String aSensorName,
java.lang.Object aSource,
java.lang.reflect.Method aMethod)
- Create a new sensor with the specified name, and encapsulate the
specified method of the specified object.
- Parameters:
aSensorName
- the name of the sensor which can referenced by rulesaSource
- the object whose method is invokedaMethod
- the method to invoke
ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'