Class WrappedBeanHolder<T,​S extends jakarta.enterprise.inject.spi.Bean<T>>

  • 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 Detail

      • WrappedBeanHolder

        public WrappedBeanHolder​(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()