Package org.jboss.weld.util.bean
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 ofBean. Separate delegate is used forBeanAttributesmethods, allowing this class to be used for processing of extension-provided beans.- Author:
- Jozef Hartinger
- See Also:
ProcessBeanAttributes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIsolatedForwardingBean.Impl<T>
-
Constructor Summary
Constructors Constructor Description IsolatedForwardingBean()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Tcreate(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)abstract jakarta.enterprise.inject.spi.Bean<T>delegate()voiddestroy(T instance, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)booleanequals(Object obj)Class<?>getBeanClass()Set<jakarta.enterprise.inject.spi.InjectionPoint>getInjectionPoints()inthashCode()StringtoString()-
Methods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
attributes, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
-
-
-
Method Detail
-
delegate
public abstract jakarta.enterprise.inject.spi.Bean<T> delegate()
- Specified by:
delegatein interfaceWrappedContextual<T>
-
create
public T create(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
- Specified by:
createin interfacejakarta.enterprise.context.spi.Contextual<T>
-
destroy
public void destroy(T instance, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
- Specified by:
destroyin interfacejakarta.enterprise.context.spi.Contextual<T>
-
getBeanClass
public Class<?> getBeanClass()
- Specified by:
getBeanClassin interfacejakarta.enterprise.inject.spi.Bean<T>
-
getInjectionPoints
public Set<jakarta.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
- Specified by:
getInjectionPointsin interfacejakarta.enterprise.inject.spi.Bean<T>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classForwardingBeanAttributes<T>
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classForwardingBeanAttributes<T>
-
-