javax.enterprise.inject.spi
Interface Bean<T>

All Superinterfaces:
Contextual<T>
All Known Subinterfaces:
Decorator<T>, Interceptor<T>

public interface Bean<T>
extends Contextual<T>


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.util.Set<InjectionPoint> 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
 java.util.Set<java.lang.reflect.Type> getTypes()
          The client-visible types of a bean
 boolean isNullable()
          The nullability of a bean
 boolean isSerializable()
          The serializability of a bean
 
Methods inherited from interface javax.enterprise.context.spi.Contextual
create, destroy
 

Method Detail

getTypes

java.util.Set<java.lang.reflect.Type> getTypes()
The client-visible types of a bean

Returns:
the bean types

getBindings

java.util.Set<java.lang.annotation.Annotation> getBindings()
The bindings of a bean

Returns:
the bindings

getScopeType

java.lang.Class<? extends java.lang.annotation.Annotation> getScopeType()
The scope of a bean

Returns:
the scope

getDeploymentType

java.lang.Class<? extends java.lang.annotation.Annotation> getDeploymentType()
The deployment type of a bean

Returns:
the deployment type

getName

java.lang.String getName()
The name of a bean

Returns:
the name

isSerializable

boolean isSerializable()
The serializability of a bean

Returns:
true if the bean is serializable

isNullable

boolean isNullable()
The nullability of a bean

Returns:
true if the bean is nullable

getInjectionPoints

java.util.Set<InjectionPoint> getInjectionPoints()
The injection points of a bean

Returns:
the injection points of a bean


Copyright © 2008-2009. All Rights Reserved.