IBM WebSphere Application ServerTM
Release 7

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

java.lang.Object
  extended by com.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.

public class MediationFlowBean
extends java.lang.Object
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
static java.lang.String $sccsid
          Deprecated.  
static java.lang.String COPYRIGHT
          Deprecated.  
 
Constructor Summary
MediationFlowBean()
          Deprecated.  
 
Method Summary
 void ejbActivate()
          Deprecated.  
 void ejbCreate()
          Deprecated.  
 void ejbPassivate()
          Deprecated.  
 void ejbRemove()
          Deprecated.  
 javax.ejb.SessionContext getSessionContext()
          Deprecated.  
 void invokeEventFlow(com.ibm.ws.sibx.mediation.esb.SIBXEvent event, commonj.sdo.DataObject message, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
          Deprecated.  
 void invokeFaultFlow(MediationFlowKey key, commonj.sdo.DataObject message, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
          Deprecated.  
 void invokeRequestFlow(MediationFlowKey key, commonj.sdo.DataObject message, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
          Deprecated.  
 void invokeResponseFlow(MediationFlowKey key, commonj.sdo.DataObject message, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
          Deprecated.  
 void setSessionContext(javax.ejb.SessionContext ctx)
          Deprecated.  
 void transactionNotSupportedWriteContext(com.ibm.wsspi.sibx.context.ContextStore contextStore, java.lang.String key, long timeout, com.ibm.wsspi.sibx.context.Context context)
          Deprecated.  
 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

COPYRIGHT

public static final java.lang.String COPYRIGHT
Deprecated. 
See Also:
Constant Field Values

$sccsid

public static final java.lang.String $sccsid
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

MediationFlowBean

public MediationFlowBean()
Deprecated. 
Method Detail

getSessionContext

public javax.ejb.SessionContext getSessionContext()
Deprecated. 

getSessionContext

Returns:
the EJB Session context *

setSessionContext

public void setSessionContext(javax.ejb.SessionContext ctx)
Deprecated. 

setSessionContext

Specified by:
setSessionContext in interface javax.ejb.SessionBean
Parameters:
ctx - the context

ejbCreate

public void ejbCreate()
               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

public void ejbActivate()
Deprecated. 

No specific action required. ejbActivate

Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbPassivate

public void ejbPassivate()
Deprecated. 

No specific action required. ejbPassivate

Specified by:
ejbPassivate in interface javax.ejb.SessionBean

ejbRemove

public void ejbRemove()
Deprecated. 

No specific action required. ejbRemove

Specified by:
ejbRemove in interface javax.ejb.SessionBean

invokeRequestFlow

public void invokeRequestFlow(MediationFlowKey key,
                              commonj.sdo.DataObject message,
                              com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
                       throws MediationRuntimeException,
                              MediationConfigurationException,
                              MediationBusinessException
Deprecated. 

Description copied from interface: MediationFlowComponent
Invoke the request flow identified by the supplied key.

Specified by:
invokeRequestFlow in interface MediationFlowComponent
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:
MediationFlowComponent.invokeRequestFlow(com.ibm.wsspi.sibx.mediation.flow.MediationFlowKey, commonj.sdo.DataObject, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory)

invokeResponseFlow

public void invokeResponseFlow(MediationFlowKey key,
                               commonj.sdo.DataObject message,
                               com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
                        throws MediationRuntimeException,
                               MediationConfigurationException,
                               MediationBusinessException
Deprecated. 

Description copied from interface: MediationFlowComponent
Invoke the response flow identified by the supplied key.

Specified by:
invokeResponseFlow in interface MediationFlowComponent
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:
MediationFlowComponent.invokeResponseFlow(com.ibm.wsspi.sibx.mediation.flow.MediationFlowKey, commonj.sdo.DataObject, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory)

invokeFaultFlow

public void invokeFaultFlow(MediationFlowKey key,
                            commonj.sdo.DataObject message,
                            com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
                     throws MediationRuntimeException,
                            MediationConfigurationException,
                            MediationBusinessException
Deprecated. 

Description copied from interface: MediationFlowComponent
Invoke the fault flow identified by the supplied key.

Specified by:
invokeFaultFlow in interface MediationFlowComponent
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:
MediationFlowComponent.invokeFaultFlow(com.ibm.wsspi.sibx.mediation.flow.MediationFlowKey, commonj.sdo.DataObject, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory)

invokeEventFlow

public void invokeEventFlow(com.ibm.ws.sibx.mediation.esb.SIBXEvent event,
                            commonj.sdo.DataObject message,
                            com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
                     throws MediationRuntimeException,
                            MediationConfigurationException,
                            MediationBusinessException
Deprecated. 

Specified by:
invokeEventFlow in interface com.ibm.ws.sibx.mediation.flow.SIBXMediationFlowComponent
Throws:
MediationRuntimeException
MediationConfigurationException
MediationBusinessException
See Also:
SIBXMediationFlowComponent.invokeEventFlow(com.ibm.ws.sibx.mediation.esb.SIBXEvent, commonj.sdo.DataObject, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory)

transactionSupportsWriteContext

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
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

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
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

IBM WebSphere Application ServerTM
Release 7