|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.slim3.container.Interceptor
public class Interceptor
This class intercepts a method.
Field Summary | |
---|---|
protected Method |
method
The around invoke method. |
protected Object |
target
The target. |
Constructor Summary | |
---|---|
Interceptor(Object target,
Method method)
Constructor. |
Method Summary | |
---|---|
Method |
getMethod()
Returns the around invoke method. |
Object |
getTarget()
Returns the target. |
Object |
invoke(InvocationContext invocationContext)
Invokes the method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Object target
protected Method method
Constructor Detail |
---|
public Interceptor(Object target, Method method)
target
- the targetmethod
- the around invoke methodMethod Detail |
---|
public Object getTarget()
public Method getMethod()
public Object invoke(InvocationContext invocationContext) throws Exception
invocationContext
- the invocation context
Exception
- if an exception is encountered
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |