org.apache.myfaces.orchestra.conversation
Class MockAdvice
java.lang.Object
org.apache.myfaces.orchestra.conversation.MockAdvice
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class MockAdvice
- extends Object
- implements org.aopalliance.intercept.MethodInterceptor
A simple AOP advice that just logs a message before and after every
method call to the target object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockAdvice
public MockAdvice()
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws Throwable
- Specified by:
invoke
in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
setMessage
public void setMessage(String msg)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.