Package org.infinispan.commons.tx.lookup
Enum LookupNames.TransactionManagerFactory
- java.lang.Object
-
- java.lang.Enum<LookupNames.TransactionManagerFactory>
-
- org.infinispan.commons.tx.lookup.LookupNames.TransactionManagerFactory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LookupNames.TransactionManagerFactory>
- Enclosing class:
- LookupNames
public static enum LookupNames.TransactionManagerFactory extends java.lang.Enum<LookupNames.TransactionManagerFactory>
TransactionManager factories we know of.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JBOSS_TM
WEBSPHERE_4
WEBSPHERE_51_6
WEBSPHERE_6
WILDFLY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFactoryClazz()
java.lang.String
getPrettyName()
javax.transaction.TransactionManager
tryLookup(java.lang.ClassLoader classLoader)
static LookupNames.TransactionManagerFactory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LookupNames.TransactionManagerFactory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WEBSPHERE_51_6
public static final LookupNames.TransactionManagerFactory WEBSPHERE_51_6
-
WEBSPHERE_6
public static final LookupNames.TransactionManagerFactory WEBSPHERE_6
-
WEBSPHERE_4
public static final LookupNames.TransactionManagerFactory WEBSPHERE_4
-
WILDFLY
public static final LookupNames.TransactionManagerFactory WILDFLY
-
JBOSS_TM
public static final LookupNames.TransactionManagerFactory JBOSS_TM
-
-
Method Detail
-
values
public static LookupNames.TransactionManagerFactory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LookupNames.TransactionManagerFactory c : LookupNames.TransactionManagerFactory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LookupNames.TransactionManagerFactory valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getFactoryClazz
public java.lang.String getFactoryClazz()
-
getPrettyName
public java.lang.String getPrettyName()
-
tryLookup
public javax.transaction.TransactionManager tryLookup(java.lang.ClassLoader classLoader)
-
-