|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.sibx.mediation.flow.ejb.MediationFlowBean
Local EJB bean class for mediation flow container lifecycle management. This stateless session bean with a local home and interface allows the EJB container to manage the lifecycle of runtime mediation flows.
Field Summary | |
---|---|
static java.lang.String |
$sccsid
|
static java.lang.String |
COPYRIGHT
|
Constructor Summary | |
---|---|
MediationFlowBean()
|
Method Summary | |
---|---|
void |
ejbActivate()
No specific action required. |
void |
ejbCreate()
Called when the bean instance is created. |
void |
ejbPassivate()
No specific action required. |
void |
ejbRemove()
No specific action required. |
javax.ejb.SessionContext |
getSessionContext()
getSessionContext |
void |
invokeFaultFlow(MediationFlowKey key,
commonj.sdo.DataObject message,
com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
Invoke the fault flow identified by the supplied key. |
void |
invokeRequestFlow(MediationFlowKey key,
commonj.sdo.DataObject message,
com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
Invoke the request flow identified by the supplied key. |
void |
invokeResponseFlow(MediationFlowKey key,
commonj.sdo.DataObject message,
com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
Invoke the response flow identified by the supplied key. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext |
void |
transactionNotSupportedWriteContext(com.ibm.wsspi.sibx.context.ContextStore contextStore,
java.lang.String key,
long timeout,
com.ibm.wsspi.sibx.context.Context context)
Writes context information to the context store using a local transaction scope |
void |
transactionSupportsWriteContext(com.ibm.wsspi.sibx.context.ContextStore contextStore,
java.lang.String key,
long timeout,
com.ibm.wsspi.sibx.context.Context context)
Writes context information to the context store using the transaction scope of the global transaction (if any). |
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
public static final java.lang.String $sccsid
Constructor Detail |
public MediationFlowBean()
Method Detail |
public javax.ejb.SessionContext getSessionContext()
public void setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext
in interface javax.ejb.SessionBean
ctx
- the contextpublic void ejbCreate() throws javax.ejb.CreateException
javax.ejb.CreateException
- if there is a problem during the createpublic void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void invokeRequestFlow(MediationFlowKey key, commonj.sdo.DataObject message, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction) throws MediationRuntimeException, MediationConfigurationException, MediationBusinessException
MediationFlowComponent
invokeRequestFlow
in interface MediationFlowComponent
key
- the key identifying the request flow to invokemessage
- the message to mediateflowAction
- the flow action factory
MediationBusinessException
- thrown by mediation primitives
MediationRuntimeException
- thrown by mediation runtime
MediationConfigurationException
- thrown by mediation primitivesMediationFlowComponent.invokeRequestFlow(com.ibm.wsspi.sibx.mediation.flow.MediationFlowKey, commonj.sdo.DataObject, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory)
public void invokeResponseFlow(MediationFlowKey key, commonj.sdo.DataObject message, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction) throws MediationRuntimeException, MediationConfigurationException, MediationBusinessException
MediationFlowComponent
invokeResponseFlow
in interface MediationFlowComponent
key
- the key identifying the response flow to invokemessage
- the message to mediateflowAction
- the flow action factory
MediationConfigurationException
- thrown by mediation primitives
MediationRuntimeException
- thrown by mediation runtime
MediationBusinessException
- thrown by mediation primitivesMediationFlowComponent.invokeResponseFlow(com.ibm.wsspi.sibx.mediation.flow.MediationFlowKey, commonj.sdo.DataObject, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory)
public void invokeFaultFlow(MediationFlowKey key, commonj.sdo.DataObject message, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction) throws MediationRuntimeException, MediationConfigurationException, MediationBusinessException
MediationFlowComponent
invokeFaultFlow
in interface MediationFlowComponent
key
- the key identifying the request flow to invokemessage
- the message to mediateflowAction
- the flow action factory
MediationConfigurationException
- thrown by mediation primitives
MediationBusinessException
- thrown by mediation primitives
MediationRuntimeException
- thrown by mediation runtimeMediationFlowComponent.invokeFaultFlow(com.ibm.wsspi.sibx.mediation.flow.MediationFlowKey, commonj.sdo.DataObject, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory)
public void transactionSupportsWriteContext(com.ibm.wsspi.sibx.context.ContextStore contextStore, java.lang.String key, long timeout, com.ibm.wsspi.sibx.context.Context context) throws com.ibm.wsspi.sibx.context.DuplicateKeyException, com.ibm.wsspi.sibx.context.StoreException
contextStore
- the context storekey
- the key used to identify this contexttimeout
- the the time (in milliseconds) after which the context is removed from the storecontext
- the context to store
com.ibm.wsspi.sibx.context.StoreException
com.ibm.wsspi.sibx.context.DuplicateKeyException
public void transactionNotSupportedWriteContext(com.ibm.wsspi.sibx.context.ContextStore contextStore, java.lang.String key, long timeout, com.ibm.wsspi.sibx.context.Context context) throws com.ibm.wsspi.sibx.context.DuplicateKeyException, com.ibm.wsspi.sibx.context.StoreException
contextStore
- the context storekey
- the key used to identify this contexttimeout
- the the time (in milliseconds) after which the context is removed from the storecontext
- the context to store
com.ibm.wsspi.sibx.context.StoreException
com.ibm.wsspi.sibx.context.DuplicateKeyException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |