com.sun.xml.ws.tx.at.policy
Enum EjbTransactionType

java.lang.Object
  extended by java.lang.Enum<EjbTransactionType>
      extended by com.sun.xml.ws.tx.at.policy.EjbTransactionType
All Implemented Interfaces:
Serializable, Comparable<EjbTransactionType>

public enum EjbTransactionType
extends Enum<EjbTransactionType>


Enum Constant Summary
MANDATORY
           
NEVER
           
NOT_DEFINED
           
NOT_SUPPORTED
           
REQUIRED
           
REQUIRES_NEW
           
SUPPORTS
           
 
Method Summary
static EjbTransactionType getDefaultFor(Class<?> seiClass)
           
 EjbTransactionType getEffectiveType(Method method)
           
static boolean isContainerManagedEJB(Class c)
           
static EjbTransactionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EjbTransactionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_SUPPORTED

public static final EjbTransactionType NOT_SUPPORTED

NEVER

public static final EjbTransactionType NEVER

MANDATORY

public static final EjbTransactionType MANDATORY

SUPPORTS

public static final EjbTransactionType SUPPORTS

REQUIRES_NEW

public static final EjbTransactionType REQUIRES_NEW

REQUIRED

public static final EjbTransactionType REQUIRED

NOT_DEFINED

public static final EjbTransactionType NOT_DEFINED
Method Detail

values

public static EjbTransactionType[] 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 (EjbTransactionType c : EjbTransactionType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EjbTransactionType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getDefaultFor

public static EjbTransactionType getDefaultFor(Class<?> seiClass)

getEffectiveType

public EjbTransactionType getEffectiveType(Method method)

isContainerManagedEJB

public static boolean isContainerManagedEJB(Class c)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.