org.seasar.framework.aop.interceptors
クラス MockInterceptor
java.lang.Object
org.seasar.framework.aop.interceptors.AbstractInterceptor
org.seasar.framework.aop.interceptors.MockInterceptor
- すべての実装インタフェース:
- Advice, Interceptor, MethodInterceptor, Serializable
- public class MockInterceptor
- extends AbstractInterceptor
- 作成者:
- higa
- 関連項目:
- 直列化された形式
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockInterceptor
public MockInterceptor()
MockInterceptor
public MockInterceptor(Object value)
setReturnValue
public void setReturnValue(Object returnValue)
setReturnValue
public void setReturnValue(String methodName,
Object returnValue)
setThrowable
public void setThrowable(Throwable throwable)
setThrowable
public void setThrowable(String methodName,
Throwable throwable)
isInvoked
public boolean isInvoked(String methodName)
getArgs
public Object[] getArgs(String methodName)
invoke
public Object invoke(MethodInvocation invocation)
throws Throwable
- 例外:
Throwable
- 関連項目:
MethodInterceptor.invoke(org.aopalliance.intercept.MethodInvocation)
Copyright © 2004-2006 The Seasar Foundation. All Rights Reserved.