com.ibm.wsspi.sibx.mediation.flow.ejb

Class MediationFlowBean

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.sibx.mediation.flow.ejb.MediationFlowBean
All implemented interfaces:
com.ibm.ws.sibx.mediation.flow.SIBXMediationFlowComponent, MediationFlowComponent, java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

Deprecated.
  1. public class MediationFlowBean
  2. extends java.lang.Object
  3. implements javax.ejb.SessionBean, com.ibm.ws.sibx.mediation.flow.SIBXMediationFlowComponent
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.
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
$sccsid
Deprecated.
  1. static
  2. java.lang.String
COPYRIGHT
Deprecated.

Constructor Summary

Constructor and Description
MediationFlowBean()
Deprecated.

Method Summary

Modifier and Type Method and Description
  1. void
ejbActivate()
Deprecated.
  1. void
ejbCreate()
Deprecated.
  1. void
ejbPassivate()
Deprecated.
  1. void
ejbRemove()
Deprecated.
  1. com.ibm.ws.sibx.scax.mediation.engine.MediationFlow
getMediationFlow(java.lang.String moduleName,java.lang.String componentName)
Deprecated.
  1. javax.ejb.SessionContext
getSessionContext()
Deprecated.
  1. void
invokeEventFlow(com.ibm.ws.sibx.mediation.esb.SIBXEvent event,commonj.sdo.DataObject message,com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
Deprecated.
  1. void
invokeFaultFlow(MediationFlowKey key,commonj.sdo.DataObject message,com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
Deprecated.
  1. void
invokeRequestFlow(MediationFlowKey key,commonj.sdo.DataObject message,com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
Deprecated.
  1. void
invokeResponseFlow(MediationFlowKey key,commonj.sdo.DataObject message,com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
Deprecated.
  1. void
setSessionContext(javax.ejb.SessionContext ctx)
Deprecated.
  1. void
transactionNotSupportedWriteContext(com.ibm.wsspi.sibx.context.ContextStore contextStore,java.lang.String key,long timeout,com.ibm.wsspi.sibx.context.Context context)
Deprecated.
  1. void
transactionSupportsWriteContext(com.ibm.wsspi.sibx.context.ContextStore contextStore,java.lang.String key,long timeout,com.ibm.wsspi.sibx.context.Context context)
Deprecated.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

  1. public static final java.lang.String COPYRIGHT
Deprecated.
See Also:

$sccsid

  1. public static final java.lang.String $sccsid
Deprecated.
See Also:

Constructor Detail

MediationFlowBean

  1. public MediationFlowBean()
Deprecated.

Method Detail

getSessionContext

  1. public javax.ejb.SessionContext getSessionContext( )
Deprecated.
getSessionContext
Returns:
the EJB Session context *

setSessionContext

  1. public void setSessionContext(javax.ejb.SessionContext ctx)
Deprecated.
setSessionContext
Specified by:
setSessionContext in interface javax.ejb.SessionBean
Parameters:
ctx - the context

ejbCreate

  1. public void ejbCreate()
  2. throws javax.ejb.CreateException
Deprecated.
Called when the bean instance is created.
Throws:
javax.ejb.CreateException - if there is a problem during the create *

ejbActivate

  1. public void ejbActivate()
Deprecated.
No specific action required. ejbActivate
Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbPassivate

  1. public void ejbPassivate()
Deprecated.
No specific action required. ejbPassivate
Specified by:
ejbPassivate in interface javax.ejb.SessionBean

ejbRemove

  1. public void ejbRemove()
Deprecated.
ejbRemove IC76728 De-register property listener to allow garbage collection
Specified by:
ejbRemove in interface javax.ejb.SessionBean

invokeRequestFlow

  1. public void invokeRequestFlow(MediationFlowKey key,
  2. commonj.sdo.DataObject message,
  3. com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
  4. throws MediationRuntimeException
  5. MediationConfigurationException
  6. MediationBusinessException
Deprecated.
Description copied from interface: MediationFlowComponent
Invoke the request flow identified by the supplied key.
Specified by:
Parameters:
key - the key identifying the request flow to invoke
message - the message to mediate
flowAction - the flow action factory
Throws:
MediationRuntimeException - thrown by mediation runtime
MediationConfigurationException - thrown by mediation primitives
MediationBusinessException - thrown by mediation primitives
See Also:

invokeResponseFlow

  1. public void invokeResponseFlow( MediationFlowKey key,
  2. commonj.sdo.DataObject message,
  3. com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
  4. throws MediationRuntimeException
  5. MediationConfigurationException
  6. MediationBusinessException
Deprecated.
Description copied from interface: MediationFlowComponent
Invoke the response flow identified by the supplied key.
Specified by:
Parameters:
key - the key identifying the response flow to invoke
message - the message to mediate
flowAction - the flow action factory
Throws:
MediationRuntimeException - thrown by mediation runtime
MediationConfigurationException - thrown by mediation primitives
MediationBusinessException - thrown by mediation primitives
See Also:

invokeFaultFlow

  1. public void invokeFaultFlow(MediationFlowKey key,
  2. commonj.sdo.DataObject message,
  3. com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
  4. throws MediationRuntimeException
  5. MediationConfigurationException
  6. MediationBusinessException
Deprecated.
Description copied from interface: MediationFlowComponent
Invoke the fault flow identified by the supplied key.
Specified by:
Parameters:
key - the key identifying the fault flow to invoke
message - the message to mediate
flowAction - the flow action factory
Throws:
MediationRuntimeException - thrown by mediation runtime
MediationConfigurationException - thrown by mediation primitives
MediationBusinessException - thrown by mediation primitives
See Also:

invokeEventFlow

  1. public void invokeEventFlow(com.ibm.ws.sibx.mediation.esb.SIBXEvent event,
  2. commonj.sdo.DataObject message,
  3. com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
  4. throws MediationRuntimeException
  5. MediationConfigurationException
  6. MediationBusinessException
Deprecated.
Specified by:
invokeEventFlow in interface com.ibm.ws.sibx.mediation.flow.SIBXMediationFlowComponent
Throws:
See Also:
SIBXMediationFlowComponent.invokeEventFlow(com.ibm.ws.sibx.mediation.esb.SIBXEvent, commonj.sdo.DataObject, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory)

getMediationFlow

  1. public com.ibm.ws.sibx.scax.mediation.engine.MediationFlow getMediationFlow( java.lang.String moduleName,
  2. java.lang.String componentName)
  3. throws java.lang.Exception
Deprecated.
Creates the MediationFlow specific to this mediation component if it hasn't been loaded already.
Parameters:
moduleName - the module name
componentName - the component name
Throws:
java.lang.Exception - throws up any exceptions to be wrapped by the caller

transactionSupportsWriteContext

  1. public void transactionSupportsWriteContext( com.ibm.wsspi.sibx.context.ContextStore contextStore,
  2. java.lang.String key,
  3. long timeout,
  4. com.ibm.wsspi.sibx.context.Context context)
  5. throws com.ibm.wsspi.sibx.context.DuplicateKeyException
  6. com.ibm.wsspi.sibx.context.StoreException
Deprecated.
Writes context information to the context store using the transaction scope of the global transaction (if any).
Parameters:
contextStore - the context store
key - the key used to identify this context
timeout - the the time (in milliseconds) after which the context is removed from the store
context - the context to store
Throws:
com.ibm.wsspi.sibx.context.StoreException
com.ibm.wsspi.sibx.context.DuplicateKeyException

transactionNotSupportedWriteContext

  1. public void transactionNotSupportedWriteContext( com.ibm.wsspi.sibx.context.ContextStore contextStore,
  2. java.lang.String key,
  3. long timeout,
  4. com.ibm.wsspi.sibx.context.Context context)
  5. throws com.ibm.wsspi.sibx.context.DuplicateKeyException
  6. com.ibm.wsspi.sibx.context.StoreException
Deprecated.
Writes context information to the context store using a local transaction scope
Parameters:
contextStore - the context store
key - the key used to identify this context
timeout - the the time (in milliseconds) after which the context is removed from the store
context - the context to store
Throws:
com.ibm.wsspi.sibx.context.StoreException
com.ibm.wsspi.sibx.context.DuplicateKeyException