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

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface MediationFlowLocal
extends javax.ejb.EJBLocalObject

Local interface of the Mediation Flow bean.

See Also:
MediationFlowBean

Field Summary
static java.lang.String $sccsid
           
static java.lang.String COPYRIGHT
           
 
Method Summary
 void invokeFaultFlow(MediationFlowKey key, commonj.sdo.DataObject message, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
          Local method for invocation of a response fault flow.
 void invokeRequestFlow(MediationFlowKey key, commonj.sdo.DataObject message, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
          Local method for invocation of a request flow.
 void invokeResponseFlow(MediationFlowKey key, commonj.sdo.DataObject message, com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
          Local method for invocation of a response flow.
 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 interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Field Detail

COPYRIGHT

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

$sccsid

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

invokeRequestFlow

public void invokeRequestFlow(MediationFlowKey key,
                              commonj.sdo.DataObject message,
                              com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
                       throws MediationRuntimeException,
                              MediationConfigurationException,
                              MediationBusinessException
Local method for invocation of a request flow.

Parameters:
key - the key identifying the request flow to invoke
message - the message to mediation
flowAction - the flow action factory
Throws:
MediationRuntimeException - if an exception occurs in flow processing
MediationConfigurationException - thrown by mediation primitives if they encounter a configuration excpetion
MediationBusinessException - thrown by mediation primitives if they encounter a business excpetion

invokeResponseFlow

public void invokeResponseFlow(MediationFlowKey key,
                               commonj.sdo.DataObject message,
                               com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
                        throws MediationRuntimeException,
                               MediationConfigurationException,
                               MediationBusinessException
Local method for invocation of a response flow.

Parameters:
key - the key identifying the response flow to invoke
message - the message to mediation
flowAction - the flow action factory
Throws:
MediationRuntimeException - if an exception occurs in flow processing
MediationConfigurationException - thrown by mediation primitives if they encounter a configuration excpetion
MediationBusinessException - thrown by mediation primitives if they encounter a business excpetion

invokeFaultFlow

public void invokeFaultFlow(MediationFlowKey key,
                            commonj.sdo.DataObject message,
                            com.ibm.wsspi.sibx.mediation.flow.action.FlowActionFactory flowAction)
                     throws MediationRuntimeException,
                            MediationConfigurationException,
                            MediationBusinessException
Local method for invocation of a response fault flow.

Parameters:
key - the key identifying the response fault flow to invoke
message - the message to mediation
flowAction - the flow action factory
Throws:
MediationRuntimeException - if an exception occurs in flow processing
MediationConfigurationException - thrown by mediation primitives if they encounter a configuration excpetion
MediationBusinessException - thrown by mediation primitives if they encounter a business excpetion

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