Package io.mats3.impl.jms
Interface JmsMatsTransactionManager.JmsMatsTxContextKey
- Enclosing interface:
- JmsMatsTransactionManager
public static interface JmsMatsTransactionManager.JmsMatsTxContextKey
Provided to
getTransactionContext(...) when a Mats-component
fetches the TransactionContext implementation.
This interface is implemented both by StageProcessors (in which case
getStage() returns itself), and by Initiators (in which case
getStage() returns null).
-
Method Summary
-
Method Details
-
getStage
JmsMatsStage<?,?, getStage()?, ?> - Returns:
- "this" if this is a StageProcessor,
nullif an Initiator.
-
getFactory
JmsMatsFactory<?> getFactory()- Returns:
- the
JmsMatsFactoryof the StageProcessor or Initiator (nevernull).
-