|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ObjectInterceptionStrategy> net.sf.tie.ext.rule.ObjectInterceptionStrategy
public enum ObjectInterceptionStrategy
Describes the strategy for how a given object should be intercepted.
InterceptionRule
Enum Constant Summary | |
---|---|
ALWAYS_INTERCEPT_IMPLEMENTATION_CLASS
Methods on the given implementation should always be intercepted, but other implementations of the same interface may not be. |
|
ALWAYS_INTERCEPT_INTERFACE
Methods on the given interface should always be intercepted, regardless of the implementation class or object. |
|
ALWAYS_INTERCEPT_OBJECT
Methods on the given instance should always be intercepted, but other instances of the same class may not be. |
|
INTERCEPT_SOME_METHODS_ON_IMPLEMENTATON
Some methods on the implementation class should be intercepted - consult
the MethodInterceptionStrategy for each method. |
|
INTERCEPT_SOME_METHODS_ON_INTERFACE
Some methods on the given interface should be intercepted - consult
the MethodInterceptionStrategy for each method. |
|
INTERCEPT_SOME_METHODS_ON_OBJECT
Some methods on the specific instance should be intercepted - consult
the MethodInterceptionStrategy for each method. |
|
NEVER_INTERCEPT_IMPLEMENTATION_CLASS
Methods on the given implementation should never be intercepted, but other implementations of the same interface may be. |
|
NEVER_INTERCEPT_INTERFACE
Methods on the given interface should never be intercepted, regardless of the implementation class or object. |
|
NEVER_INTERCEPT_OBJECT
Methods on the given instance should never be intercepted, but other instances of the same class may be. |
Method Summary | |
---|---|
static ObjectInterceptionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ObjectInterceptionStrategy[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ObjectInterceptionStrategy NEVER_INTERCEPT_INTERFACE
public static final ObjectInterceptionStrategy NEVER_INTERCEPT_IMPLEMENTATION_CLASS
public static final ObjectInterceptionStrategy NEVER_INTERCEPT_OBJECT
public static final ObjectInterceptionStrategy ALWAYS_INTERCEPT_INTERFACE
public static final ObjectInterceptionStrategy ALWAYS_INTERCEPT_IMPLEMENTATION_CLASS
public static final ObjectInterceptionStrategy ALWAYS_INTERCEPT_OBJECT
public static final ObjectInterceptionStrategy INTERCEPT_SOME_METHODS_ON_INTERFACE
consult
the MethodInterceptionStrategy
for each method.
public static final ObjectInterceptionStrategy INTERCEPT_SOME_METHODS_ON_IMPLEMENTATON
consult
the MethodInterceptionStrategy
for each method.
public static final ObjectInterceptionStrategy INTERCEPT_SOME_METHODS_ON_OBJECT
consult
the MethodInterceptionStrategy
for each method.
Method Detail |
---|
public static final ObjectInterceptionStrategy[] values()
for(ObjectInterceptionStrategy c : ObjectInterceptionStrategy.values()) System.out.println(c);
public static ObjectInterceptionStrategy 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |