Package org.infinispan.commons.tx.lookup
Enum LookupNames.JndiTransactionManager
- java.lang.Object
-
- java.lang.Enum<LookupNames.JndiTransactionManager>
-
- org.infinispan.commons.tx.lookup.LookupNames.JndiTransactionManager
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LookupNames.JndiTransactionManager>
- Enclosing class:
- LookupNames
public static enum LookupNames.JndiTransactionManager extends java.lang.Enum<LookupNames.JndiTransactionManager>
JNDI locations for TransactionManagers we know of.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BORLAND_SUN
GLASSFISH
JBOSS_AS_4_6
JBOSS_AS_7
KARAF
RESIN_3
RESIN_ORION_JONAS
WEBLOGIC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getJndiLookup()
java.lang.String
getPrettyName()
static LookupNames.JndiTransactionManager
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LookupNames.JndiTransactionManager[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JBOSS_AS_7
public static final LookupNames.JndiTransactionManager JBOSS_AS_7
-
JBOSS_AS_4_6
public static final LookupNames.JndiTransactionManager JBOSS_AS_4_6
-
RESIN_3
public static final LookupNames.JndiTransactionManager RESIN_3
-
GLASSFISH
public static final LookupNames.JndiTransactionManager GLASSFISH
-
BORLAND_SUN
public static final LookupNames.JndiTransactionManager BORLAND_SUN
-
WEBLOGIC
public static final LookupNames.JndiTransactionManager WEBLOGIC
-
RESIN_ORION_JONAS
public static final LookupNames.JndiTransactionManager RESIN_ORION_JONAS
-
KARAF
public static final LookupNames.JndiTransactionManager KARAF
-
-
Method Detail
-
values
public static LookupNames.JndiTransactionManager[] 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.JndiTransactionManager c : LookupNames.JndiTransactionManager.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.JndiTransactionManager 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
-
getJndiLookup
public java.lang.String getJndiLookup()
-
getPrettyName
public java.lang.String getPrettyName()
-
-