public static enum JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator extends java.lang.Enum<JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator>
JmsMatsInitiator
.Enum Constant and Description |
---|
FACTORY
All initiators share a common JMS Connection.
|
INITIATOR
Each initiator gets its own JSM Connection.
|
Modifier and Type | Method and Description |
---|---|
static JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator FACTORY
JmsMatsJmsSessionHandler_Pooling.PoolingKeyStageProcessor
is also set to
FACTORY
, there will only be a single JMS Connection for the entire MatsFactory.public static final JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator INITIATOR
MatsFactory.getDefaultInitiator()
, this is often close to FACTORY
- but the utility
MatsFuturizer
creates its own initiator per instance.public static JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator[] values()
for (JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator c : JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator.values()) System.out.println(c);
public static JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null