Package org.jboss.weld.util.bean
Class WrappedBeanHolder<T,S extends Bean<T>>
- java.lang.Object
-
- org.jboss.weld.util.bean.WrappedBeanHolder<T,S>
-
- Type Parameters:
T- type of the bean classS- type of bean (either Bean, Interceptor or Decorator)
public class WrappedBeanHolder<T,S extends Bean<T>> extends Object
Used withinIsolatedForwardingBeanand its subclasses as a value holder.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description WrappedBeanHolder(BeanAttributes<T> attributes, S bean)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanAttributes<T>getAttributes()SgetBean()static <T,S extends Bean<T>>
WrappedBeanHolder<T,S>of(BeanAttributes<T> attributes, S bean)
-
-
-
Constructor Detail
-
WrappedBeanHolder
public WrappedBeanHolder(BeanAttributes<T> attributes, S bean)
-
-
Method Detail
-
of
public static <T,S extends Bean<T>> WrappedBeanHolder<T,S> of(BeanAttributes<T> attributes, S bean)
-
getAttributes
public BeanAttributes<T> getAttributes()
-
getBean
public S getBean()
-
-