public static enum InterceptorConfiguration.Position extends Enum<InterceptorConfiguration.Position>
Enum Constant and Description |
---|
FIRST
Specifies that the new interceptor is placed first in the chain.
|
LAST
Specifies that the new interceptor is placed last in the chain.
|
OTHER_THAN_FIRST_OR_LAST
Specifies that the new interceptor can be placed anywhere, except first or last.
|
Modifier and Type | Method and Description |
---|---|
static InterceptorConfiguration.Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterceptorConfiguration.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterceptorConfiguration.Position FIRST
public static final InterceptorConfiguration.Position LAST
public static final InterceptorConfiguration.Position OTHER_THAN_FIRST_OR_LAST
public static InterceptorConfiguration.Position[] values()
for (InterceptorConfiguration.Position c : InterceptorConfiguration.Position.values()) System.out.println(c);
public static InterceptorConfiguration.Position valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2012 JBoss by Red Hat. All Rights Reserved.