org.apache.commons.proxy.interceptor
Class MethodInterceptorAdapter

java.lang.Object
  extended by 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:

Since:
1.0
Author:
James Carman

Constructor Summary
MethodInterceptorAdapter(MethodInterceptor methodInterceptor)
           
 
Method Summary
 Object intercept(Invocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInterceptorAdapter

public MethodInterceptorAdapter(MethodInterceptor methodInterceptor)
Method Detail

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.