Package org.jboss.weld.bean.proxy
Class DecorationHelper<T>
- java.lang.Object
-
- org.jboss.weld.bean.proxy.DecorationHelper<T>
-
- All Implemented Interfaces:
PrivilegedAction<T>
public class DecorationHelper<T> extends Object implements PrivilegedAction<T>
- Author:
- Marius Bogoevici, Ales Justin
-
-
Constructor Summary
Constructors Constructor Description DecorationHelper(TargetBeanInstance originalInstance, Bean<?> bean, Class<T> proxyClassForDecorator, BeanManagerImpl beanManager, org.jboss.weld.serialization.spi.ContextualStore contextualStore, List<Decorator<?>> decorators)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DecoratorProxyMethodHandlercreateMethodHandler(InjectionPoint injectionPoint, CreationalContext<?> creationalContext, Decorator<Object> decorator)TgetNextDelegate(InjectionPoint injectionPoint, CreationalContext<?> creationalContext)static DecorationHelper<?>peek()static voidpop()static voidpush(DecorationHelper<?> helper)Trun()
-
-
-
Constructor Detail
-
DecorationHelper
public DecorationHelper(TargetBeanInstance originalInstance, Bean<?> bean, Class<T> proxyClassForDecorator, BeanManagerImpl beanManager, org.jboss.weld.serialization.spi.ContextualStore contextualStore, List<Decorator<?>> decorators)
-
-
Method Detail
-
push
public static void push(DecorationHelper<?> helper)
-
peek
public static DecorationHelper<?> peek()
-
pop
public static void pop()
-
getNextDelegate
public T getNextDelegate(InjectionPoint injectionPoint, CreationalContext<?> creationalContext)
-
createMethodHandler
public DecoratorProxyMethodHandler createMethodHandler(InjectionPoint injectionPoint, CreationalContext<?> creationalContext, Decorator<Object> decorator)
-
run
public T run()
- Specified by:
runin interfacePrivilegedAction<T>
-
-