org.apache.webbeans.proxy
Interface InterceptorHandler
- All Known Implementing Classes:
- DecoratorHandler, DefaultInterceptorHandler
public interface InterceptorHandler
An InterceptorHandler can be used to dynamically invoke methods on
an internally stored target instance.
|
Method Summary |
Object |
invoke(Method method,
Object[] args)
This method will get called whenever the proxy
of the intercepted instance will get invoked. |
invoke
Object invoke(Method method,
Object[] args)
- This method will get called whenever the proxy
of the intercepted instance will get invoked.
- Parameters:
method - Method which should get invokedargs - original invocation parameters
- Returns:
- the return value of the intercepted methos
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.