org.objectweb.easybeans.deployable
Enum ArchiveType

java.lang.Object
  extended by java.lang.Enum<ArchiveType>
      extended by org.objectweb.easybeans.deployable.ArchiveType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ArchiveType>

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

List of types for an archive.

Author:
Florent Benoit

Enum Constant Summary
CLIENT_APP
          Client module.
EAR
          Application.
EJB21JAR
          EJB (version ejb 2.1).
EJB3JAR
          EJB (version 3).
RAR
          It's a resource adapter.
UNKNOWN
          Unknown type.
WAR
          War file.
 
Method Summary
static ArchiveType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ArchiveType[] 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

EJB21JAR

public static final ArchiveType EJB21JAR
EJB (version ejb 2.1).


EJB3JAR

public static final ArchiveType EJB3JAR
EJB (version 3).


WAR

public static final ArchiveType WAR
War file.


EAR

public static final ArchiveType EAR
Application.


RAR

public static final ArchiveType RAR
It's a resource adapter.


CLIENT_APP

public static final ArchiveType CLIENT_APP
Client module.


UNKNOWN

public static final ArchiveType UNKNOWN
Unknown type.

Method Detail

values

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

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

valueOf

public static ArchiveType 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