|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.aop.helper.ThrowsExceptionAdviceAdaptor
An adaptor class that makes it easier to write a convenient "Throws" advice
on the method interceptor, because
this class will react to java.lang.Exception exceptions.
Exception,
Serialized Form| Constructor Summary | |
ThrowsExceptionAdviceAdaptor()
Default constructor |
|
| Method Summary | |
abstract void |
afterThrowing(java.lang.Exception excp,
java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object target)
The before advice that the subclasser must implement. |
java.lang.Object |
invocation(IInterceptionContext context)
Invocation method that is a called by the Aspect Oriented framework implementation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ThrowsExceptionAdviceAdaptor()
| Method Detail |
public java.lang.Object invocation(IInterceptionContext context)
throws java.lang.Throwable
IMethodInterceptor
The AOP weaver implementation supplies a context
IInterceptionContext so that application writer can
examine the pointcut information and most importantly invoke
the target method.
invocation in interface IMethodInterceptorcontext -
java.lang.ThrowableIMethodInterceptor.invocation(com.xenonsoft.bridgetown.aop.IInterceptionContext)
public abstract void afterThrowing(java.lang.Exception excp,
java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object target)
throws java.lang.Throwable
excp - the exception raised by the joinpoint.method - the method join pointargs - the arguments that where were suppliedtarget - the target object
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||