Package org.jboss.weld.bean
Class CommonBean<T>
java.lang.Object
org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
org.jboss.weld.bean.CommonBean<T>
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<T>,jakarta.enterprise.inject.spi.Bean<T>,jakarta.enterprise.inject.spi.BeanAttributes<T>,WeldBean<T>
- Direct Known Subclasses:
AbstractSyntheticBean,RIBean
public abstract class CommonBean<T>
extends ForwardingBeanAttributes<T>
implements jakarta.enterprise.inject.spi.Bean<T>, WeldBean<T>
Common superclass for beans that are identified using id.
- Author:
- Jozef Hartinger, Pete Muir
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCommonBean(jakarta.enterprise.inject.spi.BeanAttributes<T> attributes, org.jboss.weld.serialization.spi.BeanIdentifier identifier) -
Method Summary
Methods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.enterprise.inject.spi.Bean
getBeanClass, getInjectionPointsMethods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeMethods inherited from interface jakarta.enterprise.context.spi.Contextual
create, destroyMethods inherited from interface org.jboss.weld.bean.WeldBean
getPriority
-
Constructor Details
-
CommonBean
protected CommonBean(jakarta.enterprise.inject.spi.BeanAttributes<T> attributes, org.jboss.weld.serialization.spi.BeanIdentifier identifier)
-
-
Method Details
-
unwrap
-
equals
- Overrides:
equalsin classForwardingBeanAttributes<T>
-
attributes
- Specified by:
attributesin classForwardingBeanAttributes<T>
-
setAttributes
-
hashCode
public int hashCode()- Overrides:
hashCodein classForwardingBeanAttributes<T>
-
getId
-
getIdentifier
public org.jboss.weld.serialization.spi.BeanIdentifier getIdentifier()- Specified by:
getIdentifierin interfaceWeldBean<T>- Returns:
- the
BeanIdentifierfor this bean
-
toString
-