public static enum WebContextInjectionSite.ContextType extends java.lang.Enum<WebContextInjectionSite.ContextType>
| Enum Constant and Description |
|---|
SERVLET_CONTEXT |
SESSION_CONTEXT |
| Modifier and Type | Method and Description |
|---|---|
static WebContextInjectionSite.ContextType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WebContextInjectionSite.ContextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebContextInjectionSite.ContextType SERVLET_CONTEXT
public static final WebContextInjectionSite.ContextType SESSION_CONTEXT
public static WebContextInjectionSite.ContextType[] values()
for (WebContextInjectionSite.ContextType c : WebContextInjectionSite.ContextType.values()) System.out.println(c);
public static WebContextInjectionSite.ContextType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null