org.jboss.webbeans.bean.standard
Class AbstractStandardBean<T>

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

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


Constructor Summary
protected AbstractStandardBean(ManagerImpl manager)
           
 
Method Summary
 java.util.Set<java.lang.annotation.Annotation> getBindings()
          The bindings of a bean
 java.lang.Class<? extends java.lang.annotation.Annotation> getDeploymentType()
          The deployment type of a bean
 java.lang.String getId()
           
 java.util.Set<AnnotatedInjectionPoint<?,?>> getInjectionPoints()
          The injection points of a bean
 java.lang.String getName()
          The name of a bean
 java.lang.Class<? extends java.lang.annotation.Annotation> getScopeType()
          The scope of a bean
 RIBean<?> getSpecializedBean()
           
 void initialize(BeanDeployerEnvironment environment)
           
 boolean isNullable()
          The nullability of a bean
 boolean isPrimitive()
           
 boolean isProxyable()
           
 boolean isSerializable()
          The serializability of a bean
 boolean isSpecializing()
           
 
Methods inherited from class org.jboss.webbeans.bean.RIBean
createId, equals, getManager, getType, hashCode, isDependent
 
Methods inherited from class javax.inject.manager.Bean
getTypes
 
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

AbstractStandardBean

protected AbstractStandardBean(ManagerImpl manager)
Method Detail

initialize

public void initialize(BeanDeployerEnvironment environment)
Specified by:
initialize in class RIBean<T>

getBindings

public java.util.Set<java.lang.annotation.Annotation> getBindings()
Description copied from class: Bean
The bindings of a bean

Specified by:
getBindings in class Bean<T>
Returns:
the bindings

getDeploymentType

public java.lang.Class<? extends java.lang.annotation.Annotation> getDeploymentType()
Description copied from class: Bean
The deployment type of a bean

Specified by:
getDeploymentType in class Bean<T>
Returns:
the deployment type

getScopeType

public java.lang.Class<? extends java.lang.annotation.Annotation> getScopeType()
Description copied from class: Bean
The scope of a bean

Specified by:
getScopeType in class Bean<T>
Returns:
the scope

getSpecializedBean

public RIBean<?> getSpecializedBean()
Specified by:
getSpecializedBean in class RIBean<T>

getName

public java.lang.String getName()
Description copied from class: Bean
The name of a bean

Specified by:
getName in class Bean<T>
Returns:
the name

getInjectionPoints

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

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

isNullable

public boolean isNullable()
Description copied from class: Bean
The nullability of a bean

Specified by:
isNullable in class Bean<T>
Returns:
true if the bean is nullable

isPrimitive

public boolean isPrimitive()
Specified by:
isPrimitive in class RIBean<T>

isSerializable

public boolean isSerializable()
Description copied from class: Bean
The serializability of a bean

Specified by:
isSerializable in class Bean<T>
Returns:
true if the bean is serializable

isSpecializing

public boolean isSpecializing()
Specified by:
isSpecializing in class RIBean<T>

isProxyable

public boolean isProxyable()
Specified by:
isProxyable in class RIBean<T>

getId

public java.lang.String getId()
Specified by:
getId in class RIBean<T>


Copyright © 2011. All Rights Reserved.