Class IsolatedForwardingBean<T>

java.lang.Object
org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
org.jboss.weld.util.bean.IsolatedForwardingBean<T>
All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<T>, jakarta.enterprise.inject.spi.Bean<T>, jakarta.enterprise.inject.spi.BeanAttributes<T>, WrappedContextual<T>
Direct Known Subclasses:
ForwardingBean, IsolatedForwardingBean.Impl, IsolatedForwardingDecorator, IsolatedForwardingInterceptor

public abstract class IsolatedForwardingBean<T> extends ForwardingBeanAttributes<T> implements jakarta.enterprise.inject.spi.Bean<T>, WrappedContextual<T>
Delegating implementation of Bean. Separate delegate is used for BeanAttributes methods, allowing this class to be used for processing of extension-provided beans.
Author:
Jozef Hartinger
See Also:
  • ProcessBeanAttributes
  • Constructor Details

    • IsolatedForwardingBean

      public IsolatedForwardingBean()
  • Method Details

    • delegate

      public abstract jakarta.enterprise.inject.spi.Bean<T> delegate()
      Specified by:
      delegate in interface WrappedContextual<T>
    • create

      public T create(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
      Specified by:
      create in interface jakarta.enterprise.context.spi.Contextual<T>
    • destroy

      public void destroy(T instance, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
      Specified by:
      destroy in interface jakarta.enterprise.context.spi.Contextual<T>
    • getBeanClass

      public Class<?> getBeanClass()
      Specified by:
      getBeanClass in interface jakarta.enterprise.inject.spi.Bean<T>
    • getInjectionPoints

      public Set<jakarta.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
      Specified by:
      getInjectionPoints in interface jakarta.enterprise.inject.spi.Bean<T>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ForwardingBeanAttributes<T>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class ForwardingBeanAttributes<T>
    • toString

      public String toString()
      Overrides:
      toString in class Object