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 class
S - type of bean (either Bean, Interceptor or Decorator)

public class WrappedBeanHolder<T,S extends jakarta.enterprise.inject.spi.Bean<T>> extends Object
Used within IsolatedForwardingBean and its subclasses as a value holder.
Author:
Jozef Hartinger
  • Constructor Details

    • WrappedBeanHolder

      public WrappedBeanHolder(jakarta.enterprise.inject.spi.BeanAttributes<T> attributes, S bean)
  • Method Details

    • 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()