public class DecoratorHandler extends Object implements InterceptorHandler, Externalizable
| Constructor and Description |
|---|
DecoratorHandler() |
DecoratorHandler(InterceptorResolutionService.BeanInterceptorInfo interceptorInfo,
List<javax.enterprise.inject.spi.Decorator<?>> decorators,
Map<javax.enterprise.inject.spi.Decorator<?>,?> instances,
int index,
Object target,
String passivationId) |
| 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.
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public DecoratorHandler(InterceptorResolutionService.BeanInterceptorInfo interceptorInfo, List<javax.enterprise.inject.spi.Decorator<?>> decorators, Map<javax.enterprise.inject.spi.Decorator<?>,?> instances, int index, Object target, String passivationId)
public DecoratorHandler()
public Object invoke(Method method, Object[] args)
InterceptorHandlerinvoke in interface InterceptorHandlermethod - Method which should get invokedargs - original invocation parameterspublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.