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