org.apache.geronimo.kernel.config
Class ConfigurationModuleType

java.lang.Object
  extended byorg.apache.geronimo.kernel.config.ConfigurationModuleType
All Implemented Interfaces:
Serializable

public class ConfigurationModuleType
extends Object
implements Serializable

Configuration types.

Version:
$Revision: 1.1 $ $Date: 2004/07/22 03:22:53 $
See Also:
Serialized Form

Field Summary
static ConfigurationModuleType CAR
           
static ConfigurationModuleType EAR
           
static ConfigurationModuleType EJB
           
static ConfigurationModuleType RAR
           
static ConfigurationModuleType SERVICE
           
static ConfigurationModuleType WAR
           
 
Constructor Summary
ConfigurationModuleType(String name, int value)
          This constructor is intentionally public: this class is not a type-safe enumeration.
 
Method Summary
static ConfigurationModuleType getFromValue(int index)
           
static ConfigurationModuleType getFromValue(Integer index)
           
 String getName()
           
 int getValue()
          Gets the identifier of this type.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EAR

public static final ConfigurationModuleType EAR

EJB

public static final ConfigurationModuleType EJB

CAR

public static final ConfigurationModuleType CAR

RAR

public static final ConfigurationModuleType RAR

WAR

public static final ConfigurationModuleType WAR

SERVICE

public static final ConfigurationModuleType SERVICE
Constructor Detail

ConfigurationModuleType

public ConfigurationModuleType(String name,
                               int value)
This constructor is intentionally public: this class is not a type-safe enumeration.

Method Detail

getFromValue

public static ConfigurationModuleType getFromValue(int index)

getFromValue

public static ConfigurationModuleType getFromValue(Integer index)

getName

public String getName()

getValue

public int getValue()
Gets the identifier of this type. For a configuration associated to a J2EE ModuleType, this value MUST be equal to ModuleType.getValue().

Returns:

toString

public String toString()


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.