org.jboss.managed.api
Enum ManagedDeployment.DeploymentPhase

java.lang.Object
  extended by java.lang.Enum<ManagedDeployment.DeploymentPhase>
      extended by org.jboss.managed.api.ManagedDeployment.DeploymentPhase
All Implemented Interfaces:
Serializable, Comparable<ManagedDeployment.DeploymentPhase>
Enclosing interface:
ManagedDeployment

public static enum ManagedDeployment.DeploymentPhase
extends Enum<ManagedDeployment.DeploymentPhase>

The class of deployment


Enum Constant Summary
APPLICATION
          Any deployment content to be loaded after the DEPLOYER phase
BOOTSTRAP
          A deployment loaded during the server bootstrap phase
DEPLOYER
          An mc/service deployment for a Deployer to be loaded after the BOOTSTRAP phase
 
Method Summary
static ManagedDeployment.DeploymentPhase valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ManagedDeployment.DeploymentPhase[] 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

BOOTSTRAP

public static final ManagedDeployment.DeploymentPhase BOOTSTRAP
A deployment loaded during the server bootstrap phase


DEPLOYER

public static final ManagedDeployment.DeploymentPhase DEPLOYER
An mc/service deployment for a Deployer to be loaded after the BOOTSTRAP phase


APPLICATION

public static final ManagedDeployment.DeploymentPhase APPLICATION
Any deployment content to be loaded after the DEPLOYER phase

Method Detail

values

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

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

valueOf

public static ManagedDeployment.DeploymentPhase valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2008 JBoss Inc.. All Rights Reserved.