public class BeanManagerImpl extends java.lang.Object implements WeldManager, java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
addAccessibleBeanManager(BeanManagerImpl accessibleBeanManager) |
void |
addBean(Bean<?> bean) |
void |
addBeans(java.util.Collection<? extends Bean<?>> beans)
Optimization which modifies CopyOnWrite structures only once instead of once for every bean.
|
void |
addContext(Context context) |
void |
addDecorator(Decorator<?> bean) |
void |
addInterceptor(Interceptor<?> bean) |
void |
addObserver(ObserverMethod<?> observer)
Does the actual observer registration
|
boolean |
areInterceptorBindingsEquivalent(java.lang.annotation.Annotation interceptorBinding1,
java.lang.annotation.Annotation interceptorBinding2) |
boolean |
areQualifiersEquivalent(java.lang.annotation.Annotation qualifier1,
java.lang.annotation.Annotation qualifier2) |
void |
cleanup() |
void |
cleanupAfterBoot()
Clear the bean set that is only used to make sure that no duplicate beans are added.
|
BeanManagerImpl |
createActivity()
Create a new child activity.
|
<T> AnnotatedType<T> |
createAnnotatedType(java.lang.Class<T> type) |
<T> Bean<T> |
createBean(BeanAttributes<T> attributes,
java.lang.Class<T> beanClass,
InjectionTargetFactory<T> injectionTargetFactory) |
<T,X> Bean<T> |
createBean(BeanAttributes<T> attributes,
java.lang.Class<X> beanClass,
ProducerFactory<X> producerFactory) |
BeanAttributes<?> |
createBeanAttributes(AnnotatedMember<?> member) |
<T> BeanAttributes<T> |
createBeanAttributes(AnnotatedType<T> type) |
<T> WeldCreationalContext<T> |
createCreationalContext(Contextual<T> contextual) |
<T> EnhancedAnnotatedType<T> |
createEnhancedAnnotatedType(java.lang.Class<T> type) |
FieldInjectionPointAttributes<?,?> |
createInjectionPoint(AnnotatedField<?> field) |
ParameterInjectionPointAttributes<?,?> |
createInjectionPoint(AnnotatedParameter<?> parameter) |
<T> InjectionTarget<T> |
createInjectionTarget(AnnotatedType<T> type) |
<T> InjectionTarget<T> |
createInjectionTarget(EjbDescriptor<T> descriptor)
The injection target for the given EJB, or null if Weld was not given this descriptor in the deployment.
|
<T> WeldInjectionTargetBuilder<T> |
createInjectionTargetBuilder(AnnotatedType<T> type)
Returns a new instance of
WeldInjectionTargetBuilder which can be used to create a new WeldInjectionTarget for the specified type. |
boolean |
equals(java.lang.Object obj) |
java.util.Set<QualifierInstance> |
extractInterceptorBindingsForQualifierInstance(java.lang.Iterable<QualifierInstance> annotations) |
void |
fireEvent(java.lang.Object event,
java.lang.annotation.Annotation... qualifiers)
Fires an event object with given event object for given bindings
|
<X> InjectionTarget<X> |
fireProcessInjectionTarget(AnnotatedType<X> annotatedType)
Fire a ProcessInjectionTarget event for the given type.
|
<X> InjectionTarget<X> |
fireProcessInjectionTarget(AnnotatedType<X> annotatedType,
InjectionTarget<X> injectionTarget)
Fire a ProcessInjectionTarget event for the given type.
|
java.lang.Iterable<Bean<?>> |
getAccessibleBeans() |
java.lang.Iterable<Decorator<?>> |
getAccessibleDecorators() |
java.lang.Iterable<Interceptor<?>> |
getAccessibleInterceptors() |
ObserverNotifier |
getAccessibleLenientObserverNotifier()
Get the lenient observer notifier for accessible observer methods.
|
java.util.HashSet<BeanManagerImpl> |
getAccessibleManagers() |
java.lang.Iterable<java.lang.String> |
getAccessibleNamespaces() |
<T> SessionBean<T> |
getBean(EjbDescriptor<T> descriptor)
Get the Bean object for the given EJB, or null if Weld was not given this descriptor in the deployment.
|
<T> Bean<T> |
getBean(Resolvable resolvable) |
TypeSafeBeanResolver |
getBeanResolver()
Get the web bean resolver.
|
java.util.List<Bean<?>> |
getBeans()
The beans registered with the Web Bean manager which are resolvable.
|
java.util.Set<Bean<?>> |
getBeans(InjectionPoint injectionPoint) |
java.util.Set<Bean<?>> |
getBeans(java.lang.String name) |
java.util.Set<Bean<?>> |
getBeans(java.lang.reflect.Type beanType,
java.lang.annotation.Annotation... qualifiers) |
java.util.Set<Bean<?>> |
getBeans(java.lang.reflect.Type beanType,
java.util.Set<java.lang.annotation.Annotation> qualifiers) |
java.util.concurrent.atomic.AtomicInteger |
getChildIds() |
ClientProxyProvider |
getClientProxyProvider() |
ContainerLifecycleEvents |
getContainerLifecycleEvents() |
Context |
getContext(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
Gets an active context of the given scope.
|
java.lang.String |
getContextId() |
protected java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.util.List<Context>> |
getContexts() |
BeanManagerImpl |
getCurrent() |
TypeSafeDecoratorResolver |
getDecoratorResolver()
Get the decorator resolver.
|
java.util.List<Decorator<?>> |
getDecorators() |
<T> EjbDescriptor<T> |
getEjbDescriptor(java.lang.String beanName)
Get the EjbDescriptor for the given EJB name
|
ELResolver |
getELResolver() |
ModuleEnablement |
getEnabled()
Enabled Alternatives, Interceptors and Decorators
|
java.util.Map<EjbDescriptor<?>,SessionBean<?>> |
getEnterpriseBeans()
Gets the class-mapped beans.
|
<T extends Extension> |
getExtension(java.lang.Class<T> extensionClass) |
ObserverNotifier |
getGlobalLenientObserverNotifier()
Get the lenient global observer notifier.
|
ObserverNotifier |
getGlobalStrictObserverNotifier()
Get the Strict global observer notifier.
|
java.lang.String |
getId()
The ID of the manager, identical to the ID provided by the BDA
|
java.lang.Object |
getInjectableReference(InjectionPoint injectionPoint,
Bean<?> resolvedBean,
CreationalContext<?> creationalContext)
Get a reference, registering the injection point used.
|
java.lang.Object |
getInjectableReference(InjectionPoint injectionPoint,
CreationalContext<?> creationalContext) |
<T> WeldInjectionTargetFactory<T> |
getInjectionTargetFactory(AnnotatedType<T> type)
Creates an
InjectionTargetFactory for a given type. |
<T> Instance<java.lang.Object> |
getInstance(CreationalContext<?> ctx) |
java.util.Set<java.lang.annotation.Annotation> |
getInterceptorBindingDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType) |
int |
getInterceptorBindingHashCode(java.lang.annotation.Annotation interceptorBinding) |
InterceptorMetadataReader |
getInterceptorMetadataReader() |
java.util.concurrent.ConcurrentMap<SlimAnnotatedType<?>,InterceptionModel> |
getInterceptorModelRegistry() |
TypeSafeInterceptorResolver |
getInterceptorResolver() |
java.util.List<Interceptor<?>> |
getInterceptors() |
<T> InjectionTargetFactoryImpl<T> |
getLocalInjectionTargetFactory(AnnotatedType<T> type)
Creates an
InjectionTargetFactory for a given type. |
NameBasedResolver |
getNameBasedResolver() |
protected java.util.List<java.lang.String> |
getNamespaces() |
java.util.List<ObserverMethod<?>> |
getObservers() |
Bean<?> |
getPassivationCapableBean(BeanIdentifier identifier) |
Bean<?> |
getPassivationCapableBean(java.lang.String id) |
<X> FieldProducerFactory<X> |
getProducerFactory(AnnotatedField<? super X> field,
Bean<X> declaringBean) |
<X> MethodProducerFactory<X> |
getProducerFactory(AnnotatedMethod<? super X> method,
Bean<X> declaringBean) |
int |
getQualifierHashCode(java.lang.annotation.Annotation qualifier) |
java.lang.Object |
getReference(Bean<?> bean,
java.lang.reflect.Type requestedType,
CreationalContext<?> creationalContext) |
java.lang.Object |
getReference(Bean<?> bean,
java.lang.reflect.Type requestedType,
CreationalContext<?> creationalContext,
boolean noProxy) |
java.lang.Object |
getReference(InjectionPoint injectionPoint,
Bean<?> resolvedBean,
CreationalContext<?> creationalContext)
Deprecated.
|
Namespace |
getRootNamespace() |
ServiceRegistry |
getServices()
Get the services registered for this manager
|
java.util.Set<java.lang.annotation.Annotation> |
getStereotypeDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype) |
Context |
getUnwrappedContext(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType) |
int |
hashCode() |
Instance<java.lang.Object> |
instance() |
<X> BeanAttributes<?> |
internalCreateBeanAttributes(AnnotatedMember<X> member) |
boolean |
isBeanEnabled(Bean<?> bean) |
boolean |
isContextActive(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
Indicates whether there is an active context for a given scope.
|
boolean |
isInterceptorBinding(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,
ServiceRegistry services) |
static BeanManagerImpl |
newRootManager(java.lang.String contextId,
java.lang.String id,
ServiceRegistry serviceRegistry)
Create a new, root, manager
|
protected java.lang.Object |
readResolve() |
protected void |
registerBeanNamespace(Bean<?> bean) |
<X> Bean<? extends X> |
resolve(java.util.Set<Bean<? extends X>> beans) |
java.util.List<Decorator<?>> |
resolveDecorators(java.util.Set<java.lang.reflect.Type> types,
java.lang.annotation.Annotation... qualifiers) |
java.util.List<Decorator<?>> |
resolveDecorators(java.util.Set<java.lang.reflect.Type> types,
java.util.Set<java.lang.annotation.Annotation> qualifiers) |
java.util.List<Interceptor<?>> |
resolveInterceptors(InterceptionType type,
java.lang.annotation.Annotation... interceptorBindings)
Resolves a list of interceptors based on interception type and interceptor
bindings.
|
java.util.List<Interceptor<?>> |
resolveInterceptors(InterceptionType type,
java.util.Collection<java.lang.annotation.Annotation> interceptorBindings)
Resolves a list of interceptors based on interception type and interceptor
bindings.
|
<T> java.util.Set<ObserverMethod<? super T>> |
resolveObserverMethods(T event,
java.lang.annotation.Annotation... bindings) |
BeanManagerImpl |
setCurrent(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
Associate an activity with the current context for a normal scope
|
void |
setEnabled(ModuleEnablement enabled) |
java.lang.String |
toString()
Gets a string representation
|
BeanManagerImpl |
unwrap() |
void |
validate(InjectionPoint ij) |
ExpressionFactory |
wrapExpressionFactory(ExpressionFactory expressionFactory) |
public static BeanManagerImpl newRootManager(java.lang.String contextId, java.lang.String id, ServiceRegistry serviceRegistry)
serviceRegistry - public static BeanManagerImpl newManager(BeanManagerImpl rootManager, java.lang.String id, ServiceRegistry services)
public static BeanManagerImpl newChildActivityManager(BeanManagerImpl parentManager)
parentManager - the parent managerpublic java.lang.String getContextId()
public void addAccessibleBeanManager(BeanManagerImpl accessibleBeanManager)
public java.util.HashSet<BeanManagerImpl> getAccessibleManagers()
public void addBean(Bean<?> bean)
public void addBeans(java.util.Collection<? extends Bean<?>> beans)
beans - public void addDecorator(Decorator<?> bean)
public <T> java.util.Set<ObserverMethod<? super T>> resolveObserverMethods(T event, java.lang.annotation.Annotation... bindings)
resolveObserverMethods in interface BeanManagerpublic void addInterceptor(Interceptor<?> bean)
public ModuleEnablement getEnabled()
public void setEnabled(ModuleEnablement enabled)
public boolean isBeanEnabled(Bean<?> bean)
public java.util.Set<Bean<?>> getBeans(java.lang.reflect.Type beanType, java.lang.annotation.Annotation... qualifiers)
getBeans in interface BeanManagerpublic java.util.Set<Bean<?>> getBeans(java.lang.reflect.Type beanType, java.util.Set<java.lang.annotation.Annotation> qualifiers)
public java.util.Set<Bean<?>> getBeans(InjectionPoint injectionPoint)
protected void registerBeanNamespace(Bean<?> bean)
public java.util.Map<EjbDescriptor<?>,SessionBean<?>> getEnterpriseBeans()
public java.util.List<Bean<?>> getBeans()
public java.util.List<Decorator<?>> getDecorators()
public java.util.List<Interceptor<?>> getInterceptors()
public java.lang.Iterable<Bean<?>> getAccessibleBeans()
public java.lang.Iterable<Interceptor<?>> getAccessibleInterceptors()
public java.lang.Iterable<Decorator<?>> getAccessibleDecorators()
public void addContext(Context context)
public void addObserver(ObserverMethod<?> observer)
observer - =public void fireEvent(java.lang.Object event,
java.lang.annotation.Annotation... qualifiers)
fireEvent in interface BeanManagerevent - The event object to pass alongqualifiers - The binding types to matchBeanManager.fireEvent(java.lang.Object,
java.lang.annotation.Annotation[])public Context getContext(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
getContext in interface BeanManagerscopeType - The scope to matchIllegalStateException - if there are multiple active scopes for a given contextBeanManager.getContext(java.lang.Class)public Context getUnwrappedContext(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
public boolean isContextActive(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
scopeType - IllegalStateException - if there are multiple active scopes for a given contextpublic java.lang.Object getReference(Bean<?> bean, java.lang.reflect.Type requestedType, CreationalContext<?> creationalContext, boolean noProxy)
public java.lang.Object getReference(Bean<?> bean, java.lang.reflect.Type requestedType, CreationalContext<?> creationalContext)
getReference in interface BeanManager@Deprecated public java.lang.Object getReference(InjectionPoint injectionPoint, Bean<?> resolvedBean, CreationalContext<?> creationalContext)
getInjectableReference(InjectionPoint, Bean, CreationalContext) insteadgetInjectableReference(InjectionPoint, Bean, CreationalContext) instead.injectionPoint - resolvedBean - creationalContext - public java.lang.Object getInjectableReference(InjectionPoint injectionPoint, Bean<?> resolvedBean, CreationalContext<?> creationalContext)
injectionPoint - the injection point to registerresolvedBean - the bean to get a reference tocreationalContext - the creationalContextpublic java.lang.Object getInjectableReference(InjectionPoint injectionPoint, CreationalContext<?> creationalContext)
getInjectableReference in interface BeanManagerpublic <T> Bean<T> getBean(Resolvable resolvable)
public java.util.Set<Bean<?>> getBeans(java.lang.String name)
getBeans in interface BeanManagerpublic java.util.List<Decorator<?>> resolveDecorators(java.util.Set<java.lang.reflect.Type> types, java.lang.annotation.Annotation... qualifiers)
resolveDecorators in interface BeanManagerpublic java.util.List<Decorator<?>> resolveDecorators(java.util.Set<java.lang.reflect.Type> types, java.util.Set<java.lang.annotation.Annotation> qualifiers)
public java.util.List<Interceptor<?>> resolveInterceptors(InterceptionType type, java.lang.annotation.Annotation... interceptorBindings)
resolveInterceptors in interface BeanManagertype - The interception type to resolveinterceptorBindings - The binding types to matchBeanManager.resolveInterceptors(javax.enterprise.inject.spi.InterceptionType,
java.lang.annotation.Annotation[])public java.util.List<Interceptor<?>> resolveInterceptors(InterceptionType type, java.util.Collection<java.lang.annotation.Annotation> interceptorBindings)
type - The interception type to resolveinterceptorBindings - The binding types to matchpublic TypeSafeBeanResolver getBeanResolver()
public TypeSafeDecoratorResolver getDecoratorResolver()
public TypeSafeInterceptorResolver getInterceptorResolver()
public NameBasedResolver getNameBasedResolver()
public ObserverNotifier getAccessibleLenientObserverNotifier()
ObserverNotifierpublic ObserverNotifier getGlobalLenientObserverNotifier()
ObserverNotifierpublic ObserverNotifier getGlobalStrictObserverNotifier()
ObserverNotifierpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic BeanManagerImpl createActivity()
WeldManagercreateActivity in interface WeldManagerpublic BeanManagerImpl setCurrent(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
WeldManagersetCurrent in interface WeldManagerscopeType - the scope to associate the activity withpublic BeanManagerImpl getCurrent()
getCurrent in interface WeldManagerWeldManager that corresponds to the current activitypublic ServiceRegistry getServices()
WeldManagergetServices in interface WeldManagerprotected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic ClientProxyProvider getClientProxyProvider()
protected java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.util.List<Context>> getContexts()
protected java.util.List<java.lang.String> getNamespaces()
public java.lang.Iterable<java.lang.String> getAccessibleNamespaces()
public java.lang.String getId()
WeldManagergetId in interface WeldManagerpublic java.util.concurrent.atomic.AtomicInteger getChildIds()
public java.util.List<ObserverMethod<?>> getObservers()
public Namespace getRootNamespace()
public <T> InjectionTarget<T> createInjectionTarget(AnnotatedType<T> type)
createInjectionTarget in interface BeanManagerpublic <T> InjectionTarget<T> createInjectionTarget(EjbDescriptor<T> descriptor)
WeldManagerWeldManager.fireProcessInjectionTarget(AnnotatedType) and
WeldManager.fireProcessInjectionTarget(AnnotatedType, InjectionTarget)
must be used to obtain an InjectionTarget for non-contextual EJB injection.createInjectionTarget in interface WeldManagerT - the type of the EJBdescriptor - the given EJB descriptorpublic void validate(InjectionPoint ij)
validate in interface BeanManagerpublic java.util.Set<java.lang.annotation.Annotation> getInterceptorBindingDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType)
getInterceptorBindingDefinition in interface BeanManagerpublic Bean<?> getPassivationCapableBean(java.lang.String id)
getPassivationCapableBean in interface BeanManagerpublic Bean<?> getPassivationCapableBean(BeanIdentifier identifier)
getPassivationCapableBean in interface WeldManagerpublic java.util.Set<java.lang.annotation.Annotation> getStereotypeDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype)
getStereotypeDefinition in interface BeanManagerpublic boolean isQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isQualifier in interface BeanManagerpublic boolean isInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isInterceptorBinding in interface BeanManagerpublic boolean isNormalScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isNormalScope in interface BeanManagerpublic boolean isPassivatingScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isPassivatingScope in interface BeanManagerpublic boolean isScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isScope in interface BeanManagerpublic boolean isStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isStereotype in interface BeanManagerpublic ELResolver getELResolver()
getELResolver in interface BeanManagerpublic ExpressionFactory wrapExpressionFactory(ExpressionFactory expressionFactory)
wrapExpressionFactory in interface BeanManagerpublic <T> WeldCreationalContext<T> createCreationalContext(Contextual<T> contextual)
createCreationalContext in interface BeanManagercreateCreationalContext in interface WeldManagerpublic <T> AnnotatedType<T> createAnnotatedType(java.lang.Class<T> type)
createAnnotatedType in interface BeanManagerpublic <T> EnhancedAnnotatedType<T> createEnhancedAnnotatedType(java.lang.Class<T> type)
public <X> Bean<? extends X> resolve(java.util.Set<Bean<? extends X>> beans)
resolve in interface BeanManagerpublic <T> EjbDescriptor<T> getEjbDescriptor(java.lang.String beanName)
WeldManagergetEjbDescriptor in interface WeldManagerT - the type of the EJBbeanName - the given EJB namepublic <T> SessionBean<T> getBean(EjbDescriptor<T> descriptor)
WeldManagergetBean in interface WeldManagerT - the type of the beandescriptor - the given EJB descriptorpublic void cleanup()
public void cleanupAfterBoot()
public java.util.concurrent.ConcurrentMap<SlimAnnotatedType<?>,InterceptionModel> getInterceptorModelRegistry()
public InterceptorMetadataReader getInterceptorMetadataReader()
public <X> InjectionTarget<X> fireProcessInjectionTarget(AnnotatedType<X> annotatedType)
WeldManagerfireProcessInjectionTarget in interface WeldManagerX - the typeannotatedType - the typepublic <X> InjectionTarget<X> fireProcessInjectionTarget(AnnotatedType<X> annotatedType, InjectionTarget<X> injectionTarget)
WeldManagerfireProcessInjectionTarget in interface WeldManagerX - the typeannotatedType - the typeinjectionTarget - the injection targetpublic java.util.Set<QualifierInstance> extractInterceptorBindingsForQualifierInstance(java.lang.Iterable<QualifierInstance> annotations)
public Instance<java.lang.Object> instance()
instance in interface WeldManagerpublic <T> Instance<java.lang.Object> getInstance(CreationalContext<?> ctx)
public <T> BeanAttributes<T> createBeanAttributes(AnnotatedType<T> type)
createBeanAttributes in interface BeanManagerpublic BeanAttributes<?> createBeanAttributes(AnnotatedMember<?> member)
createBeanAttributes in interface BeanManagerpublic <X> BeanAttributes<?> internalCreateBeanAttributes(AnnotatedMember<X> member)
public <T> Bean<T> createBean(BeanAttributes<T> attributes, java.lang.Class<T> beanClass, InjectionTargetFactory<T> injectionTargetFactory)
createBean in interface BeanManagerpublic <T,X> Bean<T> createBean(BeanAttributes<T> attributes, java.lang.Class<X> beanClass, ProducerFactory<X> producerFactory)
createBean in interface BeanManagerpublic FieldInjectionPointAttributes<?,?> createInjectionPoint(AnnotatedField<?> field)
createInjectionPoint in interface BeanManagerpublic ParameterInjectionPointAttributes<?,?> createInjectionPoint(AnnotatedParameter<?> parameter)
createInjectionPoint in interface BeanManagerpublic <T extends Extension> T getExtension(java.lang.Class<T> extensionClass)
getExtension in interface BeanManagerpublic ContainerLifecycleEvents getContainerLifecycleEvents()
public boolean areQualifiersEquivalent(java.lang.annotation.Annotation qualifier1,
java.lang.annotation.Annotation qualifier2)
areQualifiersEquivalent in interface BeanManagerpublic boolean areInterceptorBindingsEquivalent(java.lang.annotation.Annotation interceptorBinding1,
java.lang.annotation.Annotation interceptorBinding2)
areInterceptorBindingsEquivalent in interface BeanManagerpublic int getQualifierHashCode(java.lang.annotation.Annotation qualifier)
getQualifierHashCode in interface BeanManagerpublic int getInterceptorBindingHashCode(java.lang.annotation.Annotation interceptorBinding)
getInterceptorBindingHashCode in interface BeanManagerpublic <T> InjectionTargetFactoryImpl<T> getLocalInjectionTargetFactory(AnnotatedType<T> type)
InjectionTargetFactory for a given type. The factory will be using this BeanManager.public <T> WeldInjectionTargetFactory<T> getInjectionTargetFactory(AnnotatedType<T> type)
InjectionTargetFactory for a given type. The BeanManager for the InjectionTarget will
be inferred using CDI11Deployment.getBeanDeploymentArchive(Class).getInjectionTargetFactory in interface BeanManagergetInjectionTargetFactory in interface WeldManagerpublic <X> FieldProducerFactory<X> getProducerFactory(AnnotatedField<? super X> field, Bean<X> declaringBean)
getProducerFactory in interface BeanManagerpublic <X> MethodProducerFactory<X> getProducerFactory(AnnotatedMethod<? super X> method, Bean<X> declaringBean)
getProducerFactory in interface BeanManagerpublic <T> WeldInjectionTargetBuilder<T> createInjectionTargetBuilder(AnnotatedType<T> type)
WeldManagerWeldInjectionTargetBuilder which can be used to create a new WeldInjectionTarget for the specified type.createInjectionTargetBuilder in interface WeldManagerT - the typetype - the specified typeWeldInjectionTargetBuilder instance for the specified typepublic BeanManagerImpl unwrap()
unwrap in interface WeldManagerCopyright © 2015. All Rights Reserved.