|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.sensorevent.engine.baseagent.AbstractTaskAgent
com.ibm.sensorevent.engine.baseagent.IBMSEAbstractTaskAgent
public abstract class IBMSEAbstractTaskAgent
IBMSEAbstractTaskAgent represents the common superclass of all Premises Server task agent message-driven beans.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Fields inherited from class com.ibm.sensorevent.engine.baseagent.AbstractTaskAgent |
---|
agentclassname, AMITBUS, AMITQ, ANY, COLON, EVENT_PREFIX, EVENT_PREFIX_SHORT, ise, originalMsg, OUTBOUND, registeredTopics, SLASH |
Constructor Summary | |
---|---|
IBMSEAbstractTaskAgent()
|
Method Summary | |
---|---|
protected java.lang.String |
getCompressedBodyAsString(BytesMessage message)
getBodyAsString |
protected void |
onEvent(javax.jms.Message eventmsg)
This method is called by the runtime when the taskagent or reusable component MDB has received a message that is not an IBMSensorEvent. |
protected abstract void |
onIBMSensorEvent(ISensorEvent ibmse)
Message handler specific to processing sensor events; this method must be implemented in a subclass |
protected void |
onIBMSensorEvent(java.util.Map ibmse_map)
ise value already contains the IBMSensoreEvent object |
protected void |
onIBMSensorEvent(java.lang.String ibmse_xml)
ise value already contains the IBMSensoreEvent object |
protected void |
onMessage(Message message)
Message handler for JMS messages; calls the method onIBMSensorEvent if the message is a sensor event or calls onEvent if the message is not an IBMSensorEvent |
Methods inherited from class com.ibm.sensorevent.engine.baseagent.AbstractTaskAgent |
---|
addHeader, broadCast, broadCast, getAgentname, getAgentProperty, getAgentStore, getAgentStoreForGroup, getAgentStoreForSystem, getAllAgentProperties, getEventConverter, getJNDIObject, getMsgProperty, getOriginalMsg, getPremisesContext, getPremisesHome, getProfileid, getSourceid, getSystemProperties, getValidId, getXML, isIBMSE, isIBMSE, isWBEPacket, log, publish, publish, publish, publishOutbound, publishOutbound, publishOutbound, publishToCEP, resetAgentStore, resetAgentStoreForGroup, resetAgentStoreForSystem, setAgentname, setOriginalMsg, setProfileid, setSourceid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public IBMSEAbstractTaskAgent()
Method Detail |
---|
protected abstract void onIBMSensorEvent(ISensorEvent ibmse)
ibmse
- the sensor event to processprotected void onIBMSensorEvent(java.lang.String ibmse_xml)
ibmse_xml
- protected void onIBMSensorEvent(java.util.Map ibmse_map)
ibmse_map
- protected void onEvent(javax.jms.Message eventmsg)
eventmsg
- JMS message received from the SI-Busprotected void onMessage(Message message)
message
- the MMS message to processprotected java.lang.String getCompressedBodyAsString(BytesMessage message) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |