|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MethodAdvice
.
public interface MethodAdvice
For Tapestry IoC, Aspects provide a limited amount of advise, i.e., advising method invocations. That's the only join point available (method invocations of service interface methods); full AOP systems such as AspectJ can do much, much more, such as advising field access and even object construction.
AspectDecorator
Method Summary | |
---|---|
void |
advise(Invocation invocation)
Deprecated. Allows the Aspect to advise the invocation. |
Method Detail |
---|
void advise(Invocation invocation)
Invocation.proceed()
. The Aspect may then inspect and
replace any checked thrown exceptions. Some Aspects (for example, caching) may selectively decide to bypass the
invocation entirely, and instead invoke some other method or otherwise set a return value or thrown exception.
invocation
- to advise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |