org.ow2.easybeans.examples.cluster
Enum ClusterProperty

java.lang.Object
  extended by java.lang.Enum<ClusterProperty>
      extended by org.ow2.easybeans.examples.cluster.ClusterProperty
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ClusterProperty>

public enum ClusterProperty
extends java.lang.Enum<ClusterProperty>

Author:
eyindanga

Enum Constant Summary
CMI_CONF_URL_KEY
          Key for a CMI system property.
CMI_INITIAL_CONTEXT_FACTORY_KEY
          Initial context factory key.
DEFAULT_CMI_FILE_EXT
          File extension for CMI configuration.
DEFAULT_CMI_FILE_NAME
          File name for CMI configuration.
DEFAULT_CMI_INITIAL_CONTEXT_FACTORY
          Default context factory value.
DEFAULT_EZB_INITIAL_CONTEXT_FACTORY
           
DEFAULT_INITIAL_CONTEXT_FACTORY
          Default initial context factory.
 
Method Summary
 java.lang.String getProperty()
           
 void setProperty(java.lang.String property)
           
static ClusterProperty valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ClusterProperty[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEFAULT_INITIAL_CONTEXT_FACTORY

public static final ClusterProperty DEFAULT_INITIAL_CONTEXT_FACTORY
Default initial context factory.


DEFAULT_CMI_FILE_NAME

public static final ClusterProperty DEFAULT_CMI_FILE_NAME
File name for CMI configuration.


DEFAULT_CMI_FILE_EXT

public static final ClusterProperty DEFAULT_CMI_FILE_EXT
File extension for CMI configuration.


DEFAULT_EZB_INITIAL_CONTEXT_FACTORY

public static final ClusterProperty DEFAULT_EZB_INITIAL_CONTEXT_FACTORY

CMI_INITIAL_CONTEXT_FACTORY_KEY

public static final ClusterProperty CMI_INITIAL_CONTEXT_FACTORY_KEY
Initial context factory key.


DEFAULT_CMI_INITIAL_CONTEXT_FACTORY

public static final ClusterProperty DEFAULT_CMI_INITIAL_CONTEXT_FACTORY
Default context factory value.


CMI_CONF_URL_KEY

public static final ClusterProperty CMI_CONF_URL_KEY
Key for a CMI system property.

Method Detail

values

public static final ClusterProperty[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ClusterProperty c : ClusterProperty.values())
        System.out.println(c);

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

valueOf

public static ClusterProperty 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 name

getProperty

public java.lang.String getProperty()
Returns:
the property

setProperty

public void setProperty(java.lang.String property)
Parameters:
property - the property to set


Copyright © 2006-2008 OW2 Consortium. All Rights Reserved.