|
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.ablebean.SimpleAbleBean
This class is an example of a simple AbleBean created by extending AbleObject. It copies the value of the inputBuffer to the outputBuffer. It sets the simpleBeanColor property to the value of the first output buffer array position.
If no input connection exists or the inputBuffer is null, it will copy the the simpleBeanColor property to the first output buffer array value.
| Field Summary | |
|---|---|
static java.lang.String |
DefaultBeanColor
|
protected static long |
serialVersionUID
Serialized version identifier in form YYYYMMDDVerRelModxx |
| 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 | |
|---|---|
SimpleAbleBean()
Construct a simple AbleBean |
|
SimpleAbleBean(java.lang.String aName)
Construct a simple AbleBean with specified name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getSimpleBeanColor()
Get the color attribute |
void |
init()
Initialize the agent to a known initialized state. |
void |
process()
Perform the standard processing function performed by this bean. |
void |
reset()
Reset the bean to a known initialized state. |
void |
setSimpleBeanColor(java.lang.String newBeanColor)
Set the color attribute Also 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 DefaultBeanColor
| Constructor Detail |
public SimpleAbleBean()
throws AbleException
public SimpleAbleBean(java.lang.String aName)
throws AbleException
aName - A String object specifying the object name| 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 AbleObjectAbleException - either AbleException or process errorAbleObject.inputBuffer,
AbleObject.outputBuffer,
AbleBean.process()
public void setSimpleBeanColor(java.lang.String newBeanColor)
throws AbleException
AbleExceptionpublic java.lang.String getSimpleBeanColor()
|
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 | |||||||||||