|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.able.AbleObject | +--com.ibm.able.examples.AbleBeanWrapper
This class is a wrapper for custom algorithms. Its intended to allow the developer to implement the interfaces needed to incorporate an algorithm in Able with minimal changes to the original class. To use this class, substitute your own package in place of com\ibm\able\examples, and globally change the string BeanWrapper with the name of your algorithm's class in these class and html files. This class should include an instance variable for your custom algorithm, called myBeanWrapper in this template.
Field Summary | |
---|---|
static java.lang.String |
Copyright
Provide a copyright statement for your package to satisfy intellectual property requirements. |
protected static long |
serialVersionUID
Required for serializable. |
Fields inherited from class com.ibm.able.AbleObject |
---|
changed, chgSupport, comment, dataFlowEnabled, defaultName, destBufferConnections, eventQueue, fileName, inputBuffer, listeners, logger, name, outputBuffer, parent, propertyConnectionMgr, sourceBufferConnections, state, stateChgSupport, trace |
Constructor Summary | |
---|---|
AbleBeanWrapper()
Construct an AbleBeanWrapper. |
|
AbleBeanWrapper(java.lang.String aName)
Construct an AbleBeanWrapper with specified name. |
Method Summary | |
---|---|
static java.lang.String |
Copyright()
Determine the copyright of this class. |
java.lang.String |
getSomeProperty()
Get the value for some String property from the BeanWrapper SomeProperty will be visible from an inspector. |
void |
handleAbleEvent(AbleEvent theEvent)
Process an AbleEvent sent by another Able bean. |
void |
init()
Call any methods in BeanWrapper to initialize the algorithm. |
void |
process()
Perform the bean processing function for data buffers. |
void |
processAbleEvent(AbleEvent theEvent)
Process an AbleEvent sent by another Able bean. |
void |
processTimerEvent()
Perform the bean processing function to do when the timer interval expires. |
void |
reset()
The Reset method sets default property values and processing options. |
void |
setSomeProperty(java.lang.String newValue)
Set the value for some String property in BeanWrapper, and fire a propertyChange event to notify any propertyChange listeners. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final long serialVersionUID
public static final java.lang.String Copyright
Constructor Detail |
public AbleBeanWrapper() throws AbleException
public AbleBeanWrapper(java.lang.String aName) throws AbleException
aName
- A String object specifying the object name
reset()
Method Detail |
public void init() throws AbleException
init
in class AbleObject
com.ibm.able.AbleObject
AbleException
- If an error occurs.AbleObject.startEnabledEventProcessing()
public void reset() throws AbleException
reset
in class AbleObject
com.ibm.able.AbleObject
AbleException
- If an error occurs.AbleBean.reset()
public void process() throws AbleException
process
in class AbleObject
AbleException
- public void processTimerEvent() throws AbleException
processTimerEvent
in class AbleObject
AbleException
- public void handleAbleEvent(AbleEvent theEvent) throws AbleException
handleAbleEvent
in class AbleObject
com.ibm.able.AbleEventListener
theAbleEvent
- The event to handle.AbleException
- If an error occurs.public void processAbleEvent(AbleEvent theEvent) throws AbleException
processAbleEvent
in class AbleObject
com.ibm.able.AbleObject
theAbleEvent
- The event to process.AbleException
- If an error occurs.AbleObject.setAbleEventProcessingEnabled(int)
,
AbleObject.startEnabledEventProcessing()
,
AbleObject.handleAbleEvent(AbleEvent)
public void setSomeProperty(java.lang.String newValue) throws AbleException
public java.lang.String getSomeProperty()
public static java.lang.String Copyright()
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |