tp.impl
Enum CSEP545Service.Type

java.lang.Object
  extended by java.lang.Enum<CSEP545Service.Type>
      extended by tp.impl.CSEP545Service.Type
All Implemented Interfaces:
Serializable, Comparable<CSEP545Service.Type>
Enclosing interface:
CSEP545Service

public static enum CSEP545Service.Type
extends Enum<CSEP545Service.Type>

type of service


Enum Constant Summary
INVALID
           
RM
          resource manager
TM
          transaction manager
WC
          workflow controller
 
Method Summary
static CSEP545Service.Type getInstance(String s)
           
 boolean hasType(String s)
           
 char prefix()
           
static CSEP545Service.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CSEP545Service.Type[] 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

INVALID

public static final CSEP545Service.Type INVALID

RM

public static final CSEP545Service.Type RM
resource manager


WC

public static final CSEP545Service.Type WC
workflow controller


TM

public static final CSEP545Service.Type TM
transaction manager

Method Detail

values

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

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

valueOf

public static CSEP545Service.Type 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

prefix

public char prefix()

getInstance

public static CSEP545Service.Type getInstance(String s)

hasType

public boolean hasType(String s)