IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.event
Class EventManagerServerOperation

java.lang.Object
  extended by com.ibm.btt.base.BTTOperation
      extended by com.ibm.btt.base.BTTServerOperation
          extended by com.ibm.btt.event.EventManagerServerOperation
All Implemented Interfaces:
Cacheable, Operation, ServerOperation, java.io.Externalizable, java.io.Serializable

public class EventManagerServerOperation
extends BTTServerOperation

The server operation used to add the handlers.

See Also:
Serialized Form

Field Summary
protected  java.lang.String sessionId
          Keeps the identification of the session between the client and the server
 
Fields inherited from class com.ibm.btt.base.BTTOperation
aOperationRepliedListener, COMPID, externalizer
 
Constructor Summary
EventManagerServerOperation()
          This constructor creates an EventManagerServerOperation object.
 
Method Summary
 void execute()
          Calls the EventManager addHandler() method using the parameters sent by the client.
 java.lang.Object initializeFrom(Tag aTag)
          This method is an Externalizable interface method.
 void runInSession(java.lang.String aSessionID)
          Looks for the input session in the table of sessions (see the Context interface).
 
Methods inherited from class com.ibm.btt.base.BTTServerOperation
createOperation, getCSReplyFormat, getCSRequestFormat, getOriginWorkstation, setCSReplyFormat, setCSRequestFormat, setOriginWorkstation, updateContext, updateContext, validate, validate
 
Methods inherited from class com.ibm.btt.base.BTTOperation
addElement, addOperationRepliedListener, chainTo, clearKeyedCollection, close, externalizer, fireHandleOperationRepliedEvent, getApplicationId, getContext, getContextByType, getContextName, getContextNamed, getElementAt, getExternalizer, getFormat, getFormats, getHostReceiveFormat, getHostSendFormat, getInstanceOfOperationStep, getKeyedCollection, getName, getOperationStep, getOperationStepRC, getOperationSteps, getParent, getSelfDefinedOpTagInputStream, getService, getSessionId, getSgmlSelfDefinedOpFileName, getType, getValueAt, getXValidator, initializeFormatFrom, initializeKeyedCollectionValueFrom, initializeOpStep, initializeOpStepsFrom, isCacheable, isChained, postExecute, preExecute, prune, readExternal, readExternal, readObject, reinitialize, removeAt, removeExternal, removeOperationRepliedListener, setApplicationId, setContext, setContextName, setDefinedContext, setExternalizer, setHostReceiveFormat, setHostSendFormat, setKeyedCollection, setName, setSessionId, setType, setValueAt, setXValidator, toString, toStrings, toTags, unchain, writeExternal, writeExternal, xValidate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.btt.base.Operation
addElement, addOperationRepliedListener, chainTo, close, getApplicationId, getContext, getContextName, getElementAt, getFormat, getFormats, getKeyedCollection, getName, getParent, getService, getType, getValueAt, isChained, prune, removeAt, removeOperationRepliedListener, setApplicationId, setContext, setContextName, setKeyedCollection, setName, setType, setValueAt, unchain, xValidate
 
Methods inherited from interface com.ibm.btt.base.Cacheable
isCacheable, reinitialize
 

Field Detail

sessionId

protected java.lang.String sessionId
Keeps the identification of the session between the client and the server

Constructor Detail

EventManagerServerOperation

public EventManagerServerOperation()
                            throws java.io.IOException,
                                   DSEInvalidRequestException
This constructor creates an EventManagerServerOperation object.

Throws:
java.io.IOException
DSEInvalidRequestException
Method Detail

execute

public void execute()
             throws DSEHandlerNotFoundException,
                    DSEException
Calls the EventManager addHandler() method using the parameters sent by the client.

Specified by:
execute in interface Operation
Overrides:
execute in class BTTServerOperation
Throws:
DSEHandlerNotFoundException
DSEException

initializeFrom

public java.lang.Object initializeFrom(Tag aTag)
                                throws java.io.IOException,
                                       DSEException
This method is an Externalizable interface method. It does not prevent the externalizer overwriting the attribute values already set by the class constructor.

Overrides:
initializeFrom in class BTTOperation
Parameters:
aTag - com.ibm.btt.base.Tag
Returns:
java.lang.Object - an initialized operation
Throws:
java.io.IOException
DSEException

runInSession

public void runInSession(java.lang.String aSessionID)
                  throws DSEHandlerNotFoundException,
                         DSEException
Looks for the input session in the table of sessions (see the Context interface). Once it finds it, the method stores the identifier of the originating workstation and calls the execute() method of the operation.

Specified by:
runInSession in interface ServerOperation
Overrides:
runInSession in class BTTServerOperation
Parameters:
aSessionID - java.lang.String - The identification of the session between the client and the server
Throws:
DSEHandlerNotFoundException
DSEException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009