org.apache.aries.blueprint.testbundlea
Enum ProcessableBean.Phase

java.lang.Object
  extended by java.lang.Enum<ProcessableBean.Phase>
      extended by org.apache.aries.blueprint.testbundlea.ProcessableBean.Phase
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProcessableBean.Phase>
Enclosing interface:
ProcessableBean

public static enum ProcessableBean.Phase
extends java.lang.Enum<ProcessableBean.Phase>


Enum Constant Summary
AFTER_DESTROY
           
AFTER_INIT
           
BEFORE_DESTROY
           
BEFORE_INIT
           
 
Method Summary
static ProcessableBean.Phase valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProcessableBean.Phase[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BEFORE_INIT

public static final ProcessableBean.Phase BEFORE_INIT

AFTER_INIT

public static final ProcessableBean.Phase AFTER_INIT

BEFORE_DESTROY

public static final ProcessableBean.Phase BEFORE_DESTROY

AFTER_DESTROY

public static final ProcessableBean.Phase AFTER_DESTROY
Method Detail

values

public static ProcessableBean.Phase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ProcessableBean.Phase c : ProcessableBean.Phase.values())
    System.out.println(c);

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

valueOf

public static ProcessableBean.Phase 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
java.lang.NullPointerException - if the argument is null


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.