Home » jboss-javaee-sources » javax.enterprise.deploy » shared » [javadoc | source]
javax.enterprise.deploy.shared
public class: ModuleType [javadoc | source]
java.lang.Object
   javax.enterprise.deploy.shared.ModuleType
An enumeration of j2ee module types.
Field Summary
public static final  ModuleType EAR    The module type for an EAR 
public static final  ModuleType EJB    The module type for an EJB 
public static final  ModuleType CAR    The module type for an CAR 
public static final  ModuleType RAR    The module type for an RAR 
public static final  ModuleType WAR    The module type for an WAR 
Constructor:
 protected ModuleType(int value) 
Method from javax.enterprise.deploy.shared.ModuleType Summary:
getEnumValueTable,   getModuleExtension,   getModuleType,   getOffset,   getStringTable,   getValue,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.enterprise.deploy.shared.ModuleType Detail:
 protected ModuleType[] getEnumValueTable() 
    Get the enumerated values for module type
 public String getModuleExtension() 
    Get the file extension for this module
 public static ModuleType getModuleType(int type) 
    Get the module type for an integer
 protected int getOffset() 
    Return the offset of the first element
 protected String[] getStringTable() 
    Get the string table for class module type. This is: {"ear", "ejb", "car", "rar", "war"}
 public int getValue() 
    Get the value
 public String toString()