org.jboss.weld.bean
Class RIBean<T>
java.lang.Object
org.jboss.weld.bean.RIBean<T>
- All Implemented Interfaces:
- javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.Bean<T>, javax.enterprise.inject.spi.PassivationCapable
- Direct Known Subclasses:
- AbstractBean, AbstractBuiltInBean
public abstract class RIBean<T>
- extends java.lang.Object
- implements javax.enterprise.inject.spi.Bean<T>, javax.enterprise.inject.spi.PassivationCapable
Abstract base class with functions specific to RI built-in beans
- Author:
- Pete Muir
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.enterprise.inject.spi.Bean |
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable |
| Methods inherited from interface javax.enterprise.context.spi.Contextual |
create, destroy |
BEAN_ID_PREFIX
public static final java.lang.String BEAN_ID_PREFIX
BEAN_ID_SEPARATOR
public static final java.lang.String BEAN_ID_SEPARATOR
- See Also:
- Constant Field Values
RIBean
protected RIBean(java.lang.String idSuffix,
BeanManagerImpl beanManager)
getBeanManager
protected BeanManagerImpl getBeanManager()
getType
public abstract java.lang.Class<T> getType()
getBeanClass
public java.lang.Class<?> getBeanClass()
- Specified by:
getBeanClass in interface javax.enterprise.inject.spi.Bean<T>
initialize
public abstract void initialize(BeanDeployerEnvironment environment)
initializeAfterBeanDiscovery
public void initializeAfterBeanDiscovery()
- In particular cases, the deployer must perform some initialization operations
only after all beans have been deployed (e.g. for initializing decorators
taking into account the possibility of having custom decorators which are
deployed through portable extensions)
- Parameters:
environment -
checkType
public void checkType()
isSpecializing
public abstract boolean isSpecializing()
isDependent
public boolean isDependent()
isProxyable
public abstract boolean isProxyable()
isPassivationCapableBean
public abstract boolean isPassivationCapableBean()
isPassivationCapableDependency
public abstract boolean isPassivationCapableDependency()
isProxyRequired
public boolean isProxyRequired()
isPrimitive
public abstract boolean isPrimitive()
getWeldInjectionPoints
public abstract java.util.Set<WeldInjectionPoint<?,?>> getWeldInjectionPoints()
getInjectionPoints
public java.util.Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
- Specified by:
getInjectionPoints in interface javax.enterprise.inject.spi.Bean<T>
getSpecializedBean
public abstract RIBean<?> getSpecializedBean()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
getId
public java.lang.String getId()
- Specified by:
getId in interface javax.enterprise.inject.spi.PassivationCapable
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008-2010 Seam Framework. All Rights Reserved.