public class DecoratorHandler extends Object implements InterceptorHandler
Constructor and Description |
---|
DecoratorHandler(InterceptorResolutionService.BeanInterceptorInfo interceptorInfo,
Map<javax.enterprise.inject.spi.Decorator<?>,?> instances,
int index,
Object target) |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(Method method,
Object[] args)
This method will get called whenever the proxy
of the intercepted instance will get invoked.
|
public DecoratorHandler(InterceptorResolutionService.BeanInterceptorInfo interceptorInfo, Map<javax.enterprise.inject.spi.Decorator<?>,?> instances, int index, Object target)
public Object invoke(Method method, Object[] args)
InterceptorHandler
invoke
in interface InterceptorHandler
method
- Method which should get invokedargs
- original invocation parametersCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.