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 forBeanAttributes
methods, 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 class
IsolatedForwardingBean.Impl<T>
-
Constructor Summary
Constructors Constructor Description IsolatedForwardingBean()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
create(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
abstract jakarta.enterprise.inject.spi.Bean<T>
delegate()
void
destroy(T instance, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
boolean
equals(Object obj)
Class<?>
getBeanClass()
Set<jakarta.enterprise.inject.spi.InjectionPoint>
getInjectionPoints()
int
hashCode()
boolean
isNullable()
String
toString()
-
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:
delegate
in interfaceWrappedContextual<T>
-
create
public T create(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
- Specified by:
create
in interfacejakarta.enterprise.context.spi.Contextual<T>
-
destroy
public void destroy(T instance, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
- Specified by:
destroy
in interfacejakarta.enterprise.context.spi.Contextual<T>
-
getBeanClass
public Class<?> getBeanClass()
- Specified by:
getBeanClass
in interfacejakarta.enterprise.inject.spi.Bean<T>
-
getInjectionPoints
public Set<jakarta.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
- Specified by:
getInjectionPoints
in interfacejakarta.enterprise.inject.spi.Bean<T>
-
isNullable
public boolean isNullable()
- Specified by:
isNullable
in interfacejakarta.enterprise.inject.spi.Bean<T>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classForwardingBeanAttributes<T>
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classForwardingBeanAttributes<T>
-
-