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

java.lang.Object
  extended by javax.inject.manager.Bean<T>
      extended by org.jboss.webbeans.bean.RIBean<T>
All Implemented Interfaces:
Contextual<T>
Direct Known Subclasses:
AbstractBean, AbstractJavaEEResourceBean, AbstractStandardBean

public abstract class RIBean<T>
extends Bean<T>

Abstract base class with functions specific to RI built-in beans

Author:
Pete Muir

Constructor Summary
protected RIBean(ManagerImpl manager)
           
 
Method Summary
protected static java.lang.String createId(java.lang.String prefix)
           
 boolean equals(java.lang.Object obj)
           
abstract  java.lang.String getId()
           
abstract  java.util.Set<AnnotatedInjectionPoint<?,?>> getInjectionPoints()
          The injection points of a bean
protected  ManagerImpl getManager()
          Get the manager used to create this bean
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()
           
 
Methods inherited from class javax.inject.manager.Bean
getBindings, getDeploymentType, getName, getScopeType, getTypes, isNullable, isSerializable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.context.Contextual
create, destroy
 

Constructor Detail

RIBean

protected RIBean(ManagerImpl manager)
Method Detail

createId

protected static java.lang.String createId(java.lang.String prefix)

getManager

protected ManagerImpl getManager()
Description copied from class: Bean
Get the manager used to create this bean

Overrides:
getManager in class Bean<T>
Returns:
an instance of the manager

getType

public abstract java.lang.Class<T> getType()

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()

getInjectionPoints

public abstract java.util.Set<AnnotatedInjectionPoint<?,?>> getInjectionPoints()
Description copied from class: Bean
The injection points of a bean

Specified by:
getInjectionPoints in class Bean<T>
Returns:
the injection points of a bean

getSpecializedBean

public abstract RIBean<?> getSpecializedBean()

getId

public abstract java.lang.String getId()

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


Copyright © 2011. All Rights Reserved.