public static enum VelocityContextProviderConfig.ObjectScope extends java.lang.Enum<VelocityContextProviderConfig.ObjectScope>
Enum Constant and Description |
---|
APPLICATION
Objects added to the context should be scoped for the lifetime of
the application.
|
REQUEST
Objects added to the context should be scoped to the client's
request.
|
SESSION
Objects added to the context should be scoped to the client's
session.
|
Modifier and Type | Method and Description |
---|---|
static VelocityContextProviderConfig.ObjectScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VelocityContextProviderConfig.ObjectScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VelocityContextProviderConfig.ObjectScope APPLICATION
public static final VelocityContextProviderConfig.ObjectScope SESSION
public static final VelocityContextProviderConfig.ObjectScope REQUEST
public static VelocityContextProviderConfig.ObjectScope[] values()
for (VelocityContextProviderConfig.ObjectScope c : VelocityContextProviderConfig.ObjectScope.values()) System.out.println(c);
public static VelocityContextProviderConfig.ObjectScope 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