org.apache.commons.proxy.interceptor
Class MethodInterceptorAdapter
java.lang.Object
org.apache.commons.proxy.interceptor.MethodInterceptorAdapter
- All Implemented Interfaces:
- Interceptor
public class MethodInterceptorAdapter
- extends Object
- implements Interceptor
An adapter class to adapt AOP Alliance's MethodInterceptor
interface to Commons Proxy's
Interceptor
interface.
Dependencies:
- AOP Alliance API version 1.0 or greater
- Since:
- 1.0
- Author:
- James Carman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInterceptorAdapter
public MethodInterceptorAdapter(MethodInterceptor methodInterceptor)
intercept
public Object intercept(Invocation invocation)
throws Throwable
- Specified by:
intercept
in interface Interceptor
- Throws:
Throwable
Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.