org.jboss.weld
Class BeanManagerImpl

java.lang.Object
  extended by org.jboss.weld.BeanManagerImpl
All Implemented Interfaces:
java.io.Serializable, javax.enterprise.inject.spi.BeanManager, org.jboss.weld.manager.api.WeldManager

public class BeanManagerImpl
extends java.lang.Object
implements org.jboss.weld.manager.api.WeldManager, java.io.Serializable

Implementation of the Bean Manager. Essentially a singleton for registering Beans, Contexts, Observers, Interceptors etc. as well as providing resolution

Author:
Pete Muir, Marius Bogoevici
See Also:
Serialized Form

Field Summary
static java.lang.String JNDI_KEY
           
 
Method Summary
 void addAccessibleBeanManager(BeanManagerImpl accessibleBeanManager)
           
 void addBean(javax.enterprise.inject.spi.Bean<?> bean)
           
 void addContext(javax.enterprise.context.spi.Context context)
           
 void addDecorator(DecoratorImpl<?> bean)
           
 void addInterceptor(InterceptorImpl<?> bean)
           
 void addObserver(javax.enterprise.inject.spi.ObserverMethod<?,?> observer)
          Does the actual observer registration
 void cleanup()
           
 BeanManagerImpl createActivity()
           
<T> javax.enterprise.inject.spi.AnnotatedType<T>
createAnnotatedType(java.lang.Class<T> type)
           
<T> WeldCreationalContext<T>
createCreationalContext(javax.enterprise.context.spi.Contextual<T> contextual)
           
<T> javax.enterprise.inject.spi.InjectionTarget<T>
createInjectionTarget(javax.enterprise.inject.spi.AnnotatedType<T> type)
           
<T> javax.enterprise.inject.spi.InjectionTarget<T>
createInjectionTarget(org.jboss.weld.ejb.spi.EjbDescriptor<T> descriptor)
           
 void fireEvent(java.lang.Object event, java.lang.annotation.Annotation... qualifiers)
          Fires an event object with given event object for given bindings
 void fireEvent(java.lang.reflect.Type eventType, java.lang.Object event, java.lang.annotation.Annotation... qualifiers)
           
 java.lang.Iterable<javax.enterprise.inject.spi.Bean<?>> getAccessibleBeans()
           
protected  java.util.Set<BeanManagerImpl> getAccessibleManagers()
           
 java.lang.Iterable<java.lang.String> getAccessibleNamespaces()
           
<T> SessionBean<T>
getBean(org.jboss.weld.ejb.spi.EjbDescriptor<T> descriptor)
           
<T> javax.enterprise.inject.spi.Bean<T>
getBean(WeldAnnotated<T,?> element, java.lang.annotation.Annotation... bindings)
           
 TypeSafeBeanResolver<javax.enterprise.inject.spi.Bean<?>> getBeanResolver()
          Get the web bean resolver.
 java.util.List<javax.enterprise.inject.spi.Bean<?>> getBeans()
          The beans registered with the Web Bean manager which are resolvable.
 java.util.Set<javax.enterprise.inject.spi.Bean<?>> getBeans(java.lang.String name)
           
 java.util.Set<javax.enterprise.inject.spi.Bean<?>> getBeans(java.lang.reflect.Type beanType, java.lang.annotation.Annotation... bindings)
           
 java.util.Set<javax.enterprise.inject.spi.Bean<?>> getBeans(WeldAnnotated<?,?> element, java.lang.annotation.Annotation... bindings)
           
 org.jboss.interceptor.registry.InterceptorRegistry<java.lang.Class<?>,SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>> getBoundInterceptorsRegistry()
           
 java.util.concurrent.atomic.AtomicInteger getChildIds()
           
protected  ClientProxyProvider getClientProxyProvider()
           
 javax.enterprise.context.spi.Context getContext(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
          Gets an active context of the given scope.
protected  com.google.common.collect.ListMultimap<java.lang.Class<? extends java.lang.annotation.Annotation>,javax.enterprise.context.spi.Context> getContexts()
           
 BeanManagerImpl getCurrent()
           
 javax.enterprise.inject.spi.InjectionPoint getCurrentInjectionPoint()
          The injection point being operated on for this thread
 org.jboss.interceptor.registry.InterceptorRegistry<java.lang.Class<?>,java.lang.Class<?>> getDeclaredInterceptorsRegistry()
           
 java.util.List<DecoratorImpl<?>> getDecorators()
           
<T> org.jboss.weld.ejb.spi.EjbDescriptor<T>
getEjbDescriptor(java.lang.String beanName)
           
 javax.el.ELResolver getELResolver()
           
 java.util.List<java.lang.Class<?>> getEnabledDecoratorClasses()
           
 java.util.List<java.lang.Class<?>> getEnabledInterceptorClasses()
           
 java.util.Collection<java.lang.Class<?>> getEnabledPolicyClasses()
          A collection of enabled policy classes
 java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> getEnabledPolicyStereotypes()
           
 java.util.Map<org.jboss.weld.ejb.spi.EjbDescriptor<?>,SessionBean<?>> getEnterpriseBeans()
          Gets the class-mapped beans.
 java.lang.String getId()
           
 java.util.Set<javax.enterprise.inject.spi.Bean<?>> getInjectableBeans(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
           
 java.lang.Object getInjectableReference(javax.enterprise.inject.spi.InjectionPoint injectionPoint, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
           
<T> T
getInstanceByType(java.lang.Class<T> beanType, java.lang.annotation.Annotation... bindings)
          Deprecated. 
 java.util.Set<java.lang.annotation.Annotation> getInterceptorBindingTypeDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType)
           
 java.util.List<InterceptorImpl<?>> getInterceptors()
           
<X> javax.enterprise.inject.spi.Bean<? extends X>
getMostSpecializedBean(javax.enterprise.inject.spi.Bean<X> bean)
           
protected  java.util.List<java.lang.String> getNamespaces()
           
 java.util.List<javax.enterprise.inject.spi.ObserverMethod<?,?>> getObservers()
           
 javax.enterprise.inject.spi.Bean<?> getPassivationCapableBean(java.lang.String id)
           
 java.lang.Object getReference(javax.enterprise.inject.spi.Bean<?> bean, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
           
 java.lang.Object getReference(javax.enterprise.inject.spi.Bean<?> bean, java.lang.reflect.Type beanType, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
           
 java.lang.Object getReference(javax.enterprise.inject.spi.InjectionPoint injectionPoint, javax.enterprise.inject.spi.Bean<?> resolvedBean, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
          Get a reference, registering the injection point used.
 Namespace getRootNamespace()
           
 org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
           
 java.util.Map<javax.enterprise.context.spi.Contextual<?>,javax.enterprise.context.spi.Contextual<?>> getSpecializedBeans()
           
 java.util.Set<java.lang.annotation.Annotation> getStereotypeDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype)
           
 boolean isBeanEnabled(javax.enterprise.inject.spi.Bean<?> bean)
           
 boolean isInterceptorBindingType(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
           
 boolean isNormalScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
           
 boolean isPassivatingScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
           
 boolean isQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
           
 boolean isScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
           
 boolean isStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
           
static BeanManagerImpl newChildActivityManager(BeanManagerImpl parentManager)
          Create a new child manager
static BeanManagerImpl newManager(BeanManagerImpl rootManager, java.lang.String id, org.jboss.weld.bootstrap.api.ServiceRegistry services)
          Create a new, root, manager
static BeanManagerImpl newRootManager(java.lang.String id, org.jboss.weld.bootstrap.api.ServiceRegistry serviceRegistry)
          Create a new, root, manager
protected  java.lang.Object readResolve()
           
protected  void registerBeanNamespace(javax.enterprise.inject.spi.Bean<?> bean)
           
 javax.enterprise.inject.spi.InjectionPoint replaceOrPushCurrentInjectionPoint(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
          Replaces (or adds) the current injection point.
<X> javax.enterprise.inject.spi.Bean<? extends X>
resolve(java.util.Set<javax.enterprise.inject.spi.Bean<? extends X>> beans)
           
 java.util.List<javax.enterprise.inject.spi.Decorator<?>> resolveDecorators(java.util.Set<java.lang.reflect.Type> types, java.lang.annotation.Annotation... bindings)
          Resolves a list of decorators based on API types and binding types
 java.util.List<javax.enterprise.inject.spi.Decorator<?>> resolveDecorators(java.util.Set<java.lang.reflect.Type> types, java.util.Set<java.lang.annotation.Annotation> bindings)
           
 java.util.List<javax.enterprise.inject.spi.Interceptor<?>> resolveInterceptors(javax.enterprise.inject.spi.InterceptionType type, java.lang.annotation.Annotation... interceptorBindings)
          Resolves a list of interceptors based on interception type and interceptor bindings
<T> java.util.Set<javax.enterprise.inject.spi.ObserverMethod<?,T>>
resolveObserverMethods(T event, java.lang.annotation.Annotation... bindings)
           
 BeanManagerImpl setCurrent(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
           
 void setEnabledDecoratorClasses(java.util.List<java.lang.Class<?>> enabledDecoratorClasses)
           
 void setEnabledInterceptorClasses(java.util.List<java.lang.Class<?>> enabledInterceptorClasses)
           
 void setEnabledPolicyClasses(java.util.Collection<java.lang.Class<?>> enabledPolicyClasses)
           
 void setEnabledPolicyStereotypes(java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> enabledPolicySterotypes)
           
 java.lang.String toString()
          Gets a string representation
 void validate(javax.enterprise.inject.spi.InjectionPoint ij)
           
 javax.el.ExpressionFactory wrapExpressionFactory(javax.el.ExpressionFactory expressionFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JNDI_KEY

public static final java.lang.String JNDI_KEY
See Also:
Constant Field Values
Method Detail

newRootManager

public static BeanManagerImpl newRootManager(java.lang.String id,
                                             org.jboss.weld.bootstrap.api.ServiceRegistry serviceRegistry)
Create a new, root, manager

Parameters:
serviceRegistry -
Returns:

newManager

public static BeanManagerImpl newManager(BeanManagerImpl rootManager,
                                         java.lang.String id,
                                         org.jboss.weld.bootstrap.api.ServiceRegistry services)
Create a new, root, manager

Parameters:
serviceRegistry -
Returns:

newChildActivityManager

public static BeanManagerImpl newChildActivityManager(BeanManagerImpl parentManager)
Create a new child manager

Parameters:
parentManager -
Returns:

addAccessibleBeanManager

public void addAccessibleBeanManager(BeanManagerImpl accessibleBeanManager)

getAccessibleManagers

protected java.util.Set<BeanManagerImpl> getAccessibleManagers()

addBean

public void addBean(javax.enterprise.inject.spi.Bean<?> bean)
Specified by:
addBean in interface javax.enterprise.inject.spi.BeanManager

addDecorator

public void addDecorator(DecoratorImpl<?> bean)

resolveObserverMethods

public <T> java.util.Set<javax.enterprise.inject.spi.ObserverMethod<?,T>> resolveObserverMethods(T event,
                                                                                                 java.lang.annotation.Annotation... bindings)
Specified by:
resolveObserverMethods in interface javax.enterprise.inject.spi.BeanManager

addInterceptor

public void addInterceptor(InterceptorImpl<?> bean)

getEnabledPolicyClasses

public java.util.Collection<java.lang.Class<?>> getEnabledPolicyClasses()
A collection of enabled policy classes


getEnabledPolicyStereotypes

public java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> getEnabledPolicyStereotypes()
Returns:
the enabledPolicySterotypes

isBeanEnabled

public boolean isBeanEnabled(javax.enterprise.inject.spi.Bean<?> bean)

getEnabledDecoratorClasses

public java.util.List<java.lang.Class<?>> getEnabledDecoratorClasses()
Returns:
the enabledDecoratorClasses

getEnabledInterceptorClasses

public java.util.List<java.lang.Class<?>> getEnabledInterceptorClasses()
Returns:
the enabledInterceptorClasses

setEnabledPolicyClasses

public void setEnabledPolicyClasses(java.util.Collection<java.lang.Class<?>> enabledPolicyClasses)

setEnabledPolicyStereotypes

public void setEnabledPolicyStereotypes(java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> enabledPolicySterotypes)

setEnabledDecoratorClasses

public void setEnabledDecoratorClasses(java.util.List<java.lang.Class<?>> enabledDecoratorClasses)

setEnabledInterceptorClasses

public void setEnabledInterceptorClasses(java.util.List<java.lang.Class<?>> enabledInterceptorClasses)

getBeans

public java.util.Set<javax.enterprise.inject.spi.Bean<?>> getBeans(java.lang.reflect.Type beanType,
                                                                   java.lang.annotation.Annotation... bindings)
Specified by:
getBeans in interface javax.enterprise.inject.spi.BeanManager

getBeans

public java.util.Set<javax.enterprise.inject.spi.Bean<?>> getBeans(WeldAnnotated<?,?> element,
                                                                   java.lang.annotation.Annotation... bindings)

getInjectableBeans

public java.util.Set<javax.enterprise.inject.spi.Bean<?>> getInjectableBeans(javax.enterprise.inject.spi.InjectionPoint injectionPoint)

registerBeanNamespace

protected void registerBeanNamespace(javax.enterprise.inject.spi.Bean<?> bean)

getEnterpriseBeans

public java.util.Map<org.jboss.weld.ejb.spi.EjbDescriptor<?>,SessionBean<?>> getEnterpriseBeans()
Gets the class-mapped beans. For internal use.

Returns:
The bean map

getBeans

public java.util.List<javax.enterprise.inject.spi.Bean<?>> getBeans()
The beans registered with the Web Bean manager which are resolvable. Does not include interceptor and decorator beans

Returns:
The list of known beans

getDecorators

public java.util.List<DecoratorImpl<?>> getDecorators()

getInterceptors

public java.util.List<InterceptorImpl<?>> getInterceptors()

getAccessibleBeans

public java.lang.Iterable<javax.enterprise.inject.spi.Bean<?>> getAccessibleBeans()

addContext

public void addContext(javax.enterprise.context.spi.Context context)

addObserver

public void addObserver(javax.enterprise.inject.spi.ObserverMethod<?,?> observer)
Does the actual observer registration

Parameters:
observer - =

fireEvent

public void fireEvent(java.lang.Object event,
                      java.lang.annotation.Annotation... qualifiers)
Fires an event object with given event object for given bindings

Specified by:
fireEvent in interface javax.enterprise.inject.spi.BeanManager
Parameters:
event - The event object to pass along
bindings - The binding types to match
See Also:
BeanManager.fireEvent(java.lang.Object, java.lang.annotation.Annotation[])

fireEvent

public void fireEvent(java.lang.reflect.Type eventType,
                      java.lang.Object event,
                      java.lang.annotation.Annotation... qualifiers)

getContext

public javax.enterprise.context.spi.Context getContext(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
Gets an active context of the given scope. Throws an exception if there are no active contexts found or if there are too many matches

Specified by:
getContext in interface javax.enterprise.inject.spi.BeanManager
Parameters:
scopeType - The scope to match
Returns:
A single active context of the given scope
See Also:
BeanManager.getContext(java.lang.Class)

getReference

public java.lang.Object getReference(javax.enterprise.inject.spi.Bean<?> bean,
                                     javax.enterprise.context.spi.CreationalContext<?> creationalContext)

getReference

public java.lang.Object getReference(javax.enterprise.inject.spi.Bean<?> bean,
                                     java.lang.reflect.Type beanType,
                                     javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Specified by:
getReference in interface javax.enterprise.inject.spi.BeanManager

getReference

public java.lang.Object getReference(javax.enterprise.inject.spi.InjectionPoint injectionPoint,
                                     javax.enterprise.inject.spi.Bean<?> resolvedBean,
                                     javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Get a reference, registering the injection point used.

Parameters:
injectionPoint - the injection point to register
resolvedBean - the bean to get a reference to
creationalContext - the creationalContext
Returns:

getInjectableReference

public java.lang.Object getInjectableReference(javax.enterprise.inject.spi.InjectionPoint injectionPoint,
                                               javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Specified by:
getInjectableReference in interface javax.enterprise.inject.spi.BeanManager

getInstanceByType

@Deprecated
public <T> T getInstanceByType(java.lang.Class<T> beanType,
                                          java.lang.annotation.Annotation... bindings)
Deprecated. 

Returns an instance by API type and binding types

Parameters:
beanType - The API type to match
bindings - The binding types to match
Returns:
An instance of the bean

getBean

public <T> javax.enterprise.inject.spi.Bean<T> getBean(WeldAnnotated<T,?> element,
                                                       java.lang.annotation.Annotation... bindings)

getBeans

public java.util.Set<javax.enterprise.inject.spi.Bean<?>> getBeans(java.lang.String name)
Specified by:
getBeans in interface javax.enterprise.inject.spi.BeanManager

resolveDecorators

public java.util.List<javax.enterprise.inject.spi.Decorator<?>> resolveDecorators(java.util.Set<java.lang.reflect.Type> types,
                                                                                  java.lang.annotation.Annotation... bindings)
Resolves a list of decorators based on API types and binding types

Specified by:
resolveDecorators in interface javax.enterprise.inject.spi.BeanManager
Parameters:
types - The set of API types to match
bindings - The binding types to match
Returns:
A list of matching decorators
See Also:
BeanManager.resolveDecorators(java.util.Set, java.lang.annotation.Annotation[])

resolveDecorators

public java.util.List<javax.enterprise.inject.spi.Decorator<?>> resolveDecorators(java.util.Set<java.lang.reflect.Type> types,
                                                                                  java.util.Set<java.lang.annotation.Annotation> bindings)

resolveInterceptors

public java.util.List<javax.enterprise.inject.spi.Interceptor<?>> resolveInterceptors(javax.enterprise.inject.spi.InterceptionType type,
                                                                                      java.lang.annotation.Annotation... interceptorBindings)
Resolves a list of interceptors based on interception type and interceptor bindings

Specified by:
resolveInterceptors in interface javax.enterprise.inject.spi.BeanManager
Parameters:
type - The interception type to resolve
interceptorBindings - The binding types to match
Returns:
A list of matching interceptors
See Also:
BeanManager.resolveInterceptors(javax.enterprise.inject.spi.InterceptionType, java.lang.annotation.Annotation[])

getBeanResolver

public TypeSafeBeanResolver<javax.enterprise.inject.spi.Bean<?>> getBeanResolver()
Get the web bean resolver. For internal use

Returns:
The resolver

toString

public java.lang.String toString()
Gets a string representation

Overrides:
toString in class java.lang.Object
Returns:
A string representation

createActivity

public BeanManagerImpl createActivity()
Specified by:
createActivity in interface org.jboss.weld.manager.api.WeldManager

setCurrent

public BeanManagerImpl setCurrent(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
Specified by:
setCurrent in interface org.jboss.weld.manager.api.WeldManager

getCurrent

public BeanManagerImpl getCurrent()

getServices

public org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
Specified by:
getServices in interface org.jboss.weld.manager.api.WeldManager

getCurrentInjectionPoint

public javax.enterprise.inject.spi.InjectionPoint getCurrentInjectionPoint()
The injection point being operated on for this thread

Returns:
the current injection point

replaceOrPushCurrentInjectionPoint

public javax.enterprise.inject.spi.InjectionPoint replaceOrPushCurrentInjectionPoint(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Replaces (or adds) the current injection point. If a current injection point exists, it will be replaced. If no current injection point exists, one will be added.

Parameters:
injectionPoint - the injection point to use
Returns:
the injection point added, or null if non previous existed

getSpecializedBeans

public java.util.Map<javax.enterprise.context.spi.Contextual<?>,javax.enterprise.context.spi.Contextual<?>> getSpecializedBeans()
Returns:

readResolve

protected java.lang.Object readResolve()

getClientProxyProvider

protected ClientProxyProvider getClientProxyProvider()

getContexts

protected com.google.common.collect.ListMultimap<java.lang.Class<? extends java.lang.annotation.Annotation>,javax.enterprise.context.spi.Context> getContexts()

getNamespaces

protected java.util.List<java.lang.String> getNamespaces()
Returns:
the namespaces

getAccessibleNamespaces

public java.lang.Iterable<java.lang.String> getAccessibleNamespaces()

getId

public java.lang.String getId()

getChildIds

public java.util.concurrent.atomic.AtomicInteger getChildIds()

getObservers

public java.util.List<javax.enterprise.inject.spi.ObserverMethod<?,?>> getObservers()

getRootNamespace

public Namespace getRootNamespace()

createInjectionTarget

public <T> javax.enterprise.inject.spi.InjectionTarget<T> createInjectionTarget(javax.enterprise.inject.spi.AnnotatedType<T> type)
Specified by:
createInjectionTarget in interface javax.enterprise.inject.spi.BeanManager

createInjectionTarget

public <T> javax.enterprise.inject.spi.InjectionTarget<T> createInjectionTarget(org.jboss.weld.ejb.spi.EjbDescriptor<T> descriptor)
Specified by:
createInjectionTarget in interface org.jboss.weld.manager.api.WeldManager

getMostSpecializedBean

public <X> javax.enterprise.inject.spi.Bean<? extends X> getMostSpecializedBean(javax.enterprise.inject.spi.Bean<X> bean)
Specified by:
getMostSpecializedBean in interface javax.enterprise.inject.spi.BeanManager

validate

public void validate(javax.enterprise.inject.spi.InjectionPoint ij)
Specified by:
validate in interface javax.enterprise.inject.spi.BeanManager

getInterceptorBindingTypeDefinition

public java.util.Set<java.lang.annotation.Annotation> getInterceptorBindingTypeDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType)
Specified by:
getInterceptorBindingTypeDefinition in interface javax.enterprise.inject.spi.BeanManager

getPassivationCapableBean

public javax.enterprise.inject.spi.Bean<?> getPassivationCapableBean(java.lang.String id)
Specified by:
getPassivationCapableBean in interface javax.enterprise.inject.spi.BeanManager

getStereotypeDefinition

public java.util.Set<java.lang.annotation.Annotation> getStereotypeDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype)
Specified by:
getStereotypeDefinition in interface javax.enterprise.inject.spi.BeanManager

isQualifier

public boolean isQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Specified by:
isQualifier in interface javax.enterprise.inject.spi.BeanManager

isInterceptorBindingType

public boolean isInterceptorBindingType(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Specified by:
isInterceptorBindingType in interface javax.enterprise.inject.spi.BeanManager

isNormalScope

public boolean isNormalScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Specified by:
isNormalScope in interface javax.enterprise.inject.spi.BeanManager

isPassivatingScope

public boolean isPassivatingScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Specified by:
isPassivatingScope in interface javax.enterprise.inject.spi.BeanManager

isScope

public boolean isScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Specified by:
isScope in interface javax.enterprise.inject.spi.BeanManager

isStereotype

public boolean isStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Specified by:
isStereotype in interface javax.enterprise.inject.spi.BeanManager

getELResolver

public javax.el.ELResolver getELResolver()
Specified by:
getELResolver in interface javax.enterprise.inject.spi.BeanManager

wrapExpressionFactory

public javax.el.ExpressionFactory wrapExpressionFactory(javax.el.ExpressionFactory expressionFactory)
Specified by:
wrapExpressionFactory in interface javax.enterprise.inject.spi.BeanManager

createCreationalContext

public <T> WeldCreationalContext<T> createCreationalContext(javax.enterprise.context.spi.Contextual<T> contextual)
Specified by:
createCreationalContext in interface javax.enterprise.inject.spi.BeanManager

createAnnotatedType

public <T> javax.enterprise.inject.spi.AnnotatedType<T> createAnnotatedType(java.lang.Class<T> type)
Specified by:
createAnnotatedType in interface javax.enterprise.inject.spi.BeanManager

resolve

public <X> javax.enterprise.inject.spi.Bean<? extends X> resolve(java.util.Set<javax.enterprise.inject.spi.Bean<? extends X>> beans)
Specified by:
resolve in interface javax.enterprise.inject.spi.BeanManager

getEjbDescriptor

public <T> org.jboss.weld.ejb.spi.EjbDescriptor<T> getEjbDescriptor(java.lang.String beanName)
Specified by:
getEjbDescriptor in interface org.jboss.weld.manager.api.WeldManager

getBean

public <T> SessionBean<T> getBean(org.jboss.weld.ejb.spi.EjbDescriptor<T> descriptor)
Specified by:
getBean in interface org.jboss.weld.manager.api.WeldManager

cleanup

public void cleanup()

getBoundInterceptorsRegistry

public org.jboss.interceptor.registry.InterceptorRegistry<java.lang.Class<?>,SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>> getBoundInterceptorsRegistry()

getDeclaredInterceptorsRegistry

public org.jboss.interceptor.registry.InterceptorRegistry<java.lang.Class<?>,java.lang.Class<?>> getDeclaredInterceptorsRegistry()


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