net.dpml.component
Class ActivationPolicy

java.lang.Object
  extended by net.dpml.lang.Enum
      extended by net.dpml.component.ActivationPolicy
All Implemented Interfaces:
Serializable

public final class ActivationPolicy
extends Enum

Policy enummeration for the declaration of activation semantics.

Version:
1.2.0
Author:
Digital Product Meta Library
See Also:
Serialized Form

Field Summary
static ActivationPolicy DEMAND
          Activation on startup disabled.
static ActivationPolicy STARTUP
          Activation on startup enabled.
static ActivationPolicy SYSTEM
          System managed activation policy.
 
Method Summary
static ActivationPolicy parse(String value)
          Parse a string value and return the activation policy.
static ActivationPolicy[] values()
          Returns an array of activation enum values.
 
Methods inherited from class net.dpml.lang.Enum
equals, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SYSTEM

public static final ActivationPolicy SYSTEM
System managed activation policy.


STARTUP

public static final ActivationPolicy STARTUP
Activation on startup enabled.


DEMAND

public static final ActivationPolicy DEMAND
Activation on startup disabled.

Method Detail

values

public static ActivationPolicy[] values()
Returns an array of activation enum values.

Returns:
the activation policies array

parse

public static ActivationPolicy parse(String value)
Parse a string value and return the activation policy.

Parameters:
value - the activation policy name
Returns:
the activation policy