|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.ioc.internal.services.LoggingAdvice
public class LoggingAdvice
Constructor Summary | |
---|---|
LoggingAdvice(org.slf4j.Logger logger,
ExceptionTracker exceptionTracker)
|
Method Summary | |
---|---|
void |
advise(MethodInvocation invocation)
Advise the method, usually invoking MethodInvocation.proceed() at some point. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingAdvice(org.slf4j.Logger logger, ExceptionTracker exceptionTracker)
Method Detail |
---|
public void advise(MethodInvocation invocation)
MethodAdvice
MethodInvocation.proceed()
at some point.
The advice is free to inspect and even replace parameters. Most
Aspects will then invoke MethodInvocation.proceed()
. The advice may then inspect and
replace any checked thrown exceptions. Some advice (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.
advise
in interface MethodAdvice
invocation
- identifies the method being invoked, including parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |