|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.aop.impl.DefaultInterceptionContext
Default interception context based on cglib.
| Constructor Summary | |
DefaultInterceptionContext()
Default constructor |
|
DefaultInterceptionContext(IMethodPointCut pointCut,
java.lang.Class invocationClass,
java.lang.reflect.Method invocationMethod,
java.lang.Object bean,
java.lang.Object[] args,
net.sf.cglib.proxy.MethodProxy methodProxy)
Standard constructor |
|
| Method Summary | |
java.lang.Object |
getBean()
Gets the bean, which is the object passed to a CGLIB method interceptor |
java.lang.Class |
getInvocationClass()
Returns the invocation class |
java.lang.reflect.Method |
getInvocationMethod()
Returns the invocation method |
net.sf.cglib.proxy.MethodProxy |
getMethodProxy()
Gets the methodProxy |
java.lang.Object[] |
getParameters()
Returns the invocation parameters for the method pointcut |
IPointCut |
getPointCut()
Retrieves the relevant pointcut |
java.lang.Object |
proceed()
Invokes the target method |
void |
setBean(java.lang.Object bean)
Sets the bean, which is the object passed to a CGLIB method interceptor |
void |
setInvocationClass(java.lang.Class invocationClass)
Sets the invocation class |
void |
setInvocationMethod(java.lang.reflect.Method invocationMethod)
Sets the invocation method |
void |
setMethodProxy(net.sf.cglib.proxy.MethodProxy methodProxy)
Sets the methodProxy |
void |
setParameters(java.lang.Object[] parameters)
Sets the parameters |
void |
setPointCut(IMethodPointCut pointCut)
Sets the point cut |
java.lang.String |
toString()
Prints the debuggable string |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DefaultInterceptionContext()
public DefaultInterceptionContext(IMethodPointCut pointCut,
java.lang.Class invocationClass,
java.lang.reflect.Method invocationMethod,
java.lang.Object bean,
java.lang.Object[] args,
net.sf.cglib.proxy.MethodProxy methodProxy)
pointCut - the method point cutinvocationClass - the classinvocationMethod - the methodbean - the target beanargs - the invocation parametersmethodProxy - the method proxy object from CGLIB| Method Detail |
public IPointCut getPointCut()
getPointCut in interface IInterceptionContextIInterceptionContext.getPointCut()public java.lang.Class getInvocationClass()
getInvocationClass in interface IInterceptionContextIInterceptionContext.getInvocationClass()public java.lang.reflect.Method getInvocationMethod()
getInvocationMethod in interface IInterceptionContextIInterceptionContext.getInvocationMethod()public java.lang.Object[] getParameters()
getParameters in interface IInterceptionContextIInterceptionContext.getParameters()public void setInvocationClass(java.lang.Class invocationClass)
invocationClass - The invocationClass to set.public void setInvocationMethod(java.lang.reflect.Method invocationMethod)
invocationMethod - The invocationMethod to set.public void setParameters(java.lang.Object[] parameters)
parameters - The parameters to set.public void setPointCut(IMethodPointCut pointCut)
pointCut - The pointCut to set.public java.lang.Object getBean()
getBean in interface IInterceptionContextpublic void setBean(java.lang.Object bean)
bean - The bean to set.public net.sf.cglib.proxy.MethodProxy getMethodProxy()
public void setMethodProxy(net.sf.cglib.proxy.MethodProxy methodProxy)
methodProxy - The methodProxy to set.
public java.lang.Object proceed()
throws java.lang.Throwable
proceed in interface IInterceptionContextjava.lang.ThrowableIInterceptionContext.proceed()public java.lang.String toString()
Object.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||