|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.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, properties, propertyConnectionMgr, sourceBufferConnections, state, stateChgSupport, trace |
| Constructor Summary | |
|---|---|
AbleBeanWrapper()
Construct an AbleBeanWrapper. |
|
AbleBeanWrapper(java.lang.String aName)
Construct an AbleBeanWrapper with specified name. |
|
| Method Summary | |
|---|---|
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 interface AbleBeaninit in class AbleObjectAbleException - If an error occurs.AbleObject.startEnabledEventProcessing()
public void reset()
throws AbleException
reset in interface AbleBeanreset in class AbleObjectAbleException - If an error occurs.AbleBean.reset()
public void process()
throws AbleException
process in interface AbleBeanprocess in class AbleObjectAbleExceptionAbleObject.inputBuffer,
AbleObject.outputBuffer,
AbleBean.process()
public void processTimerEvent()
throws AbleException
processTimerEvent in interface AbleEventQueueProcessorprocessTimerEvent in class AbleObjectAbleException
public void handleAbleEvent(AbleEvent theEvent)
throws AbleException
handleAbleEvent in interface AbleEventListenerhandleAbleEvent in class AbleObjectAbleException
public void processAbleEvent(AbleEvent theEvent)
throws AbleException
processAbleEvent in interface AbleEventQueueProcessorprocessAbleEvent in class AbleObjecttheEvent - 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
AbleExceptionpublic java.lang.String getSomeProperty()
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||