org.apache.geronimo.kernel.config
Class ConfigurationModuleType
java.lang.Object
org.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
Constructor Summary |
ConfigurationModuleType(String name,
int value)
This constructor is intentionally public: this class is not a type-safe
enumeration. |
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
ConfigurationModuleType
public ConfigurationModuleType(String name,
int value)
- This constructor is intentionally public: this class is not a type-safe
enumeration.
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.