org.jboss.weld.bean
Class RIBean<T>

java.lang.Object
  extended by 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

Field Summary
static java.lang.String BEAN_ID_PREFIX
           
static java.lang.String BEAN_ID_SEPARATOR
           
 
Constructor Summary
protected RIBean(java.lang.String idSuffix, BeanManagerImpl manager)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
abstract  java.util.Set<WeldInjectionPoint<?,?>> getAnnotatedInjectionPoints()
           
 java.lang.Class<?> getBeanClass()
           
abstract  java.lang.String getDescription()
           
 java.lang.String getId()
           
 java.util.Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
           
protected  BeanManagerImpl getManager()
           
abstract  RIBean<?> getSpecializedBean()
           
abstract  java.lang.Class<T> getType()
           
 int hashCode()
           
abstract  void initialize(BeanDeployerEnvironment environment)
           
 boolean isDependent()
           
abstract  boolean isPrimitive()
           
abstract  boolean isProxyable()
           
abstract  boolean isSpecializing()
           
 java.lang.String toString()
           
 
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
 

Field Detail

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
Constructor Detail

RIBean

protected RIBean(java.lang.String idSuffix,
                 BeanManagerImpl manager)
Method Detail

getManager

protected BeanManagerImpl getManager()

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)

isSpecializing

public abstract boolean isSpecializing()

isDependent

public boolean isDependent()

isProxyable

public abstract boolean isProxyable()

isPrimitive

public abstract boolean isPrimitive()

getAnnotatedInjectionPoints

public abstract java.util.Set<WeldInjectionPoint<?,?>> getAnnotatedInjectionPoints()

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

getDescription

public abstract java.lang.String getDescription()


Copyright © 2008-2009 Seam Framework. All Rights Reserved.