Package org.jboss.weld.util.bean
Class WrappedBeanHolder<T,S extends jakarta.enterprise.inject.spi.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 jakarta.enterprise.inject.spi.Bean<T>> extends Object
Used withinIsolatedForwardingBean
and its subclasses as a value holder.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description WrappedBeanHolder(jakarta.enterprise.inject.spi.BeanAttributes<T> attributes, S bean)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.enterprise.inject.spi.BeanAttributes<T>
getAttributes()
S
getBean()
static <T,S extends jakarta.enterprise.inject.spi.Bean<T>>
WrappedBeanHolder<T,S>of(jakarta.enterprise.inject.spi.BeanAttributes<T> attributes, S bean)
-
-
-
Method Detail
-
of
public static <T,S extends jakarta.enterprise.inject.spi.Bean<T>> WrappedBeanHolder<T,S> of(jakarta.enterprise.inject.spi.BeanAttributes<T> attributes, S bean)
-
getAttributes
public jakarta.enterprise.inject.spi.BeanAttributes<T> getAttributes()
-
getBean
public S getBean()
-
-