|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FromContext>
org.jboss.beans.metadata.api.model.FromContext
public enum FromContext
Inject from controller context: * name - controller context name * aliases - aliases * metadata - inject MetaData * beaninfo - BeanInfo * scope - ScopeKey * id - identifier * dynamic - method specific * ...
Enum Constant Summary | |
---|---|
ALIASES
|
|
BEANINFO
|
|
CONTEXT
|
|
ID
|
|
METADATA
|
|
NAME
|
|
NOOP
|
|
SCOPE
|
|
STATE
|
Method Summary | |
---|---|
Object |
executeLookup(ControllerContext context)
Execute injection on context. |
static FromContext |
getInstance(String fromString)
Get the enum instance from string. |
ControllerState |
getWhenValid()
When valid state. |
static FromContext |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FromContext[] |
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 |
---|
public static final FromContext NOOP
public static final FromContext NAME
public static final FromContext ALIASES
public static final FromContext METADATA
public static final FromContext BEANINFO
public static final FromContext SCOPE
public static final FromContext STATE
public static final FromContext ID
public static final FromContext CONTEXT
Method Detail |
---|
public static FromContext[] values()
for (FromContext c : FromContext.values()) System.out.println(c);
public static FromContext valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic ControllerState getWhenValid()
public Object executeLookup(ControllerContext context) throws Throwable
context
- the target context
Throwable
- for any errorpublic static FromContext getInstance(String fromString)
fromString
- the type string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |