|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.lang.Enum net.dpml.metro.info.LifestylePolicy
Lifestyle policy enumeration.
Field Summary | |
static LifestylePolicy |
SINGLETON
Singleton lifestyle policy. |
static LifestylePolicy |
SYSTEM
Singleton lifestyle policy. |
static LifestylePolicy |
THREAD
Per-thread lifestyle policy. |
static LifestylePolicy |
TRANSIENT
Transient lifestyle policy. |
Method Summary | |
static LifestylePolicy |
parse(String value)
Parse the supplied value into a lifestyle policy. |
String |
toString()
Return a string representation of the lifestyle constant. |
static LifestylePolicy[] |
values()
Returns an array of activation enum values. |
Methods inherited from class net.dpml.lang.Enum |
equals, getName, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final LifestylePolicy TRANSIENT
public static final LifestylePolicy THREAD
public static final LifestylePolicy SINGLETON
public static final LifestylePolicy SYSTEM
Method Detail |
public static LifestylePolicy[] values()
public String toString()
toString
in class Enum
public static LifestylePolicy parse(String value) throws IllegalArgumentException
value
- the value to parse
IllegalArgumentException
- if the value cannot be mapped
to a lifestyle policy enumeration name
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |