| Package | Description |
|---|---|
| javax.enterprise.inject.spi |
The portable extension integration SPI.
|
| org.jboss.weld.bean | |
| org.jboss.weld.bean.builtin | |
| org.jboss.weld.bean.builtin.ee | |
| org.jboss.weld.bean.proxy | |
| org.jboss.weld.bootstrap | |
| org.jboss.weld.bootstrap.events | |
| org.jboss.weld.injection | |
| org.jboss.weld.manager | |
| org.jboss.weld.manager.api | |
| org.jboss.weld.resolution | |
| org.jboss.weld.util |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Decorator<T>
Represents an enabled decorator.
|
interface |
Interceptor<T>
Represents an enabled interceptor.
|
| Modifier and Type | Method and Description |
|---|---|
Bean<X> |
ProcessBean.getBean()
Returns the
Bean object that is about
to be registered. |
Bean<?> |
InjectionPoint.getBean()
Get the
Bean object representing the
bean that defines the injection point. |
Bean<?> |
BeanManager.getPassivationCapableBean(String id)
Returns the
PassivationCapable bean with
the given identifier. |
<X> Bean<? extends X> |
BeanManager.resolve(Set<Bean<? extends X>> beans)
Apply the ambiguous dependency resolution rules to a set of
beans.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Bean<?>> |
BeanManager.getBeans(String name)
Return the set of beans which have the given EL name and are available for
injection in the module or library containing the class into which the
BeanManager was injected or the Java EE component from whose JNDI
environment namespace the BeanManager was obtained, according to
the rules of EL name resolution.
|
Set<Bean<?>> |
BeanManager.getBeans(Type beanType,
Annotation... qualifiers)
Return the set of beans which have the given required type and qualifiers
and are available for injection in the module or library containing the class
into which the BeanManager was injected or the Java EE component from
whose JNDI environment namespace the BeanManager was obtained,
according to the rules of typesafe resolution.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AfterBeanDiscovery.addBean(Bean<?> bean)
Fires an event of type
ProcessBean
containing the given Bean and then
registers the Bean with the container,
thereby making it available for injection into other beans. |
Object |
BeanManager.getReference(Bean<?> bean,
Type beanType,
CreationalContext<?> ctx)
Obtains a contextual reference for a certain bean and
a certain bean type of the bean.
|
| Modifier and Type | Method and Description |
|---|---|
<X> Bean<? extends X> |
BeanManager.resolve(Set<Bean<? extends X>> beans)
Apply the ambiguous dependency resolution rules to a set of
beans.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
WeldDecorator<T>
Sub-interface of
Decorator that contains metadata information about Weld-deployed
Decorators (including custom decorators). |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBean<T,S>
An abstract bean representation common for all beans
|
class |
AbstractClassBean<T>
An abstract bean representation common for class-based beans
|
class |
AbstractProducerBean<X,T,S extends Member>
The implicit producer bean
|
class |
AbstractReceiverBean<X,T,S extends Member> |
class |
CustomDecoratorWrapper<T>
A wrapper for a decorated instance.
|
class |
DecoratorImpl<T> |
class |
DisposalMethod<X,T> |
class |
ForwardingBean<T>
A delegating bean
|
class |
ForwardingDecorator<T> |
class |
InterceptorImpl<T> |
class |
ManagedBean<T>
Represents a simple bean
|
class |
NewManagedBean<T>
Represents a @New simple bean
|
class |
NewSessionBean<T>
Represents a @New enterprise bean
|
class |
ProducerField<X,T>
Represents a producer field
|
class |
ProducerMethod<X,T>
Represents a producer method bean
|
class |
RIBean<T>
Abstract base class with functions specific to RI built-in beans
|
class |
SessionBean<T>
An enterprise bean representation
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Bean<T> |
ForwardingBean.delegate()
Abstract getter for the delegate
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBuiltInBean<T> |
class |
AbstractFacadeBean<T> |
class |
BeanManagerBean |
class |
ContextBean<T extends Context> |
class |
ConversationBean |
class |
EventBean |
class |
ExtensionBean |
class |
InjectionPointBean
Bean for InjectionPoint metadata
|
class |
InstanceBean |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEEBean<T> |
class |
DefaultValidatorBean |
class |
DefaultValidatorFactoryBean |
class |
EEResourceProducerField<X,T> |
class |
PrincipalBean |
class |
UserTransactionBean |
| Modifier and Type | Method and Description |
|---|---|
Bean<?> |
ProxyFactory.getBean() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<?> |
AbstractBeanInstance.computeInstanceType(Bean<?> bean) |
<T> T |
ClientProxyProvider.getClientProxy(Bean<T> bean)
Gets a client proxy for a bean
Looks for a proxy in the pool.
|
static ClassLoader |
ProxyFactory.resolveClassLoaderForBeanProxy(Bean<?> bean) |
static ClassLoader |
ProxyFactory.resolveClassLoaderForBeanProxy(Bean<?> bean,
Proxies.TypeInfo typeInfo)
Figures out the correct class loader to use for a proxy for a given bean
|
static <T> void |
ProxyFactory.setBeanInstance(T proxy,
BeanInstance beanInstance,
Bean<?> bean)
Convenience method to set the underlying bean instance for a proxy.
|
| Constructor and Description |
|---|
ClientProxyFactory(Class<?> proxiedBeanType,
Set<? extends Type> typeClosure,
Bean<?> bean) |
ContextBeanInstance(Bean<T> bean,
String id)
Creates a new locator for instances of the given bean.
|
DecorationHelper(TargetBeanInstance originalInstance,
Bean<?> bean,
Class<T> proxyClassForDecorator,
BeanManagerImpl beanManager,
ContextualStore contextualStore,
List<Decorator<?>> decorators) |
DecoratorProxyFactory(Class<T> proxyType,
WeldInjectionPoint<?,?> delegateInjectionPoint,
Bean<?> bean) |
EnterpriseProxyFactory(Class<T> proxiedBeanType,
Bean<T> bean)
Produces a factory for a specific bean implementation.
|
InterceptedSubclassFactory(Class<?> proxiedBeanType,
Set<? extends Type> typeClosure,
Bean<?> bean,
Set<MethodSignature> enhancedMethodSignatures) |
InterceptedSubclassFactory(Class<?> proxiedBeanType,
Set<? extends Type> typeClosure,
String proxyName,
Bean<?> bean,
Set<MethodSignature> enhancedMethodSignatures)
Creates a new proxy factory when the name of the proxy class is already
known, such as during de-serialization
|
ProxyFactory(Class<?> proxiedBeanType,
Set<? extends Type> typeClosure,
Bean<?> bean)
created a new proxy factory from a bean instance.
|
ProxyFactory(Class<?> proxiedBeanType,
Set<? extends Type> typeClosure,
String proxyName,
Bean<?> bean)
Creates a new proxy factory when the name of the proxy class is already
known, such as during de-serialization
|
ProxyMethodHandler(BeanInstance beanInstance,
Bean<?> bean) |
TargetBeanInstance(Bean<?> bean,
Object instance) |
| Modifier and Type | Method and Description |
|---|---|
void |
Validator.validateInjectionPoint(InjectionPoint ij,
Bean<?> bean,
BeanManagerImpl beanManager)
Variation of the validateInjectionPoint method which allows the bean to be defined explicitly (used for disposer method validation)
|
void |
Validator.validateInjectionPointPassivationCapable(InjectionPoint ij,
Bean<?> resolvedBean,
BeanManagerImpl beanManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
Validator.validateBeans(Collection<? extends Bean<?>> beans,
Collection<RIBean<?>> specializedBeans,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
Bean<X> |
ProcessBeanImpl.getBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
AfterBeanDiscoveryImpl.addBean(Bean<?> bean) |
static <X> void |
ProcessBeanImpl.fire(BeanManagerImpl beanManager,
Bean<X> bean) |
| Constructor and Description |
|---|
ProcessBeanImpl(BeanManagerImpl beanManager,
Bean<X> bean) |
| Modifier and Type | Method and Description |
|---|---|
Bean<?> |
ParameterInjectionPoint.getBean() |
Bean<?> |
MethodInjectionPoint.getBean() |
Bean<?> |
ForwardingInjectionPoint.getBean() |
Bean<?> |
FieldInjectionPoint.getBean() |
Bean<?> |
EmptyInjectionPoint.getBean() |
Bean<?> |
ConstructorInjectionPoint.getBean() |
protected Bean<T> |
WeldInjectionPoint.WeldInjectionPointSerializationProxy.getDeclaringBean() |
| Modifier and Type | Method and Description |
|---|---|
static <T,X> FieldInjectionPoint<T,X> |
FieldInjectionPoint.of(Bean<?> declaringBean,
WeldClass<?> injectionTargetClass,
WeldField<T,X> field) |
static <T,X> MethodInjectionPoint<T,X> |
MethodInjectionPoint.of(Bean<?> declaringBean,
WeldMethod<T,X> method) |
static <T,X> ParameterInjectionPoint<T,X> |
ParameterInjectionPoint.of(Bean<?> declaringBean,
WeldParameter<T,X> parameter) |
static <T> ConstructorInjectionPoint<T> |
ConstructorInjectionPoint.of(Bean<T> declaringBean,
WeldConstructor<T> constructor) |
| Constructor and Description |
|---|
ConstructorInjectionPoint(Bean<T> declaringBean,
WeldConstructor<T> constructor) |
FieldInjectionPoint(Bean<?> declaringBean,
WeldClass<?> injectionTargetClass,
WeldField<T,X> field) |
MethodInjectionPoint(Bean<?> declaringBean,
WeldMethod<T,X> method) |
ProxyClassConstructorInjectionPointWrapper(Bean<T> declaringBean,
WeldConstructor<T> weldConstructor,
ConstructorInjectionPoint<T> originalConstructorInjectionPoint) |
| Modifier and Type | Method and Description |
|---|---|
<T> Bean<T> |
BeanManagerImpl.getBean(Resolvable resolvable) |
<X> Bean<? extends X> |
BeanManagerImpl.getMostSpecializingBean(Bean<X> bean) |
Bean<?> |
BeanManagerImpl.getPassivationCapableBean(String id) |
<X> Bean<? extends X> |
BeanManagerImpl.resolve(Set<Bean<? extends X>> beans) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Bean<?>> |
BeanManagerImpl.getAccessibleBeans() |
TypeSafeBeanResolver<Bean<?>> |
BeanManagerImpl.getBeanResolver()
Get the web bean resolver.
|
List<Bean<?>> |
BeanManagerImpl.getBeans()
The beans registered with the Web Bean manager which are resolvable.
|
Set<Bean<?>> |
BeanManagerImpl.getBeans(InjectionPoint injectionPoint) |
Set<Bean<?>> |
BeanManagerImpl.getBeans(String name) |
Set<Bean<?>> |
BeanManagerImpl.getBeans(Type beanType,
Annotation... qualifiers) |
Set<Bean<?>> |
BeanManagerImpl.getBeans(Type beanType,
Set<Annotation> qualifiers) |
Iterable<Bean<?>> |
BeanTransform.transform(BeanManagerImpl beanManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
BeanManagerImpl.addBean(Bean<?> bean) |
<X> Bean<? extends X> |
BeanManagerImpl.getMostSpecializingBean(Bean<X> bean) |
Object |
BeanManagerImpl.getReference(Bean<?> bean,
CreationalContext<?> creationalContext,
boolean noProxy) |
Object |
BeanManagerImpl.getReference(Bean<?> bean,
Type beanType,
CreationalContext<?> creationalContext) |
Object |
BeanManagerImpl.getReference(InjectionPoint injectionPoint,
Bean<?> resolvedBean,
CreationalContext<?> creationalContext)
Get a reference, registering the injection point used.
|
boolean |
BeanManagerImpl.isBeanEnabled(Bean<?> bean) |
protected void |
BeanManagerImpl.registerBeanNamespace(Bean<?> bean) |
| Modifier and Type | Method and Description |
|---|---|
<X> Bean<? extends X> |
BeanManagerImpl.resolve(Set<Bean<? extends X>> beans) |
| Modifier and Type | Method and Description |
|---|---|
<T> Bean<T> |
WeldManager.getBean(EjbDescriptor<T> descriptor)
Get the Bean object for the given EJB, or null if Weld was not given
this descriptor in the deployment.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TypeSafeBeanResolver<T extends Bean<?>> |
| Modifier and Type | Field and Description |
|---|---|
protected Bean<?> |
ResolvableBuilder.declaringBean |
| Modifier and Type | Method and Description |
|---|---|
Bean<?> |
ResolvableBuilder.ResolvableImpl.getDeclaringBean() |
Bean<?> |
Resolvable.getDeclaringBean()
Get the declaring the injection point, or null if there is none
|
Bean<?> |
ForwardingResolvable.getDeclaringBean() |
| Modifier and Type | Method and Description |
|---|---|
Set<Bean<?>> |
TypeSafeBeanResolver.BeanDisambiguation.load(Set<Bean<?>> from) |
<X> Set<Bean<? extends X>> |
TypeSafeBeanResolver.resolve(Set<Bean<? extends X>> beans) |
Set<Bean<?>> |
NameBasedResolver.resolve(String name)
Get the possible beans for the given name
|
| Modifier and Type | Method and Description |
|---|---|
static Set<QualifierInstance> |
QualifierInstance.qualifiers(BeanManagerImpl beanManager,
Bean<?> bean) |
ResolvableBuilder |
ResolvableBuilder.setDeclaringBean(Bean<?> declaringBean) |
InterceptorResolvableBuilder |
InterceptorResolvableBuilder.setDeclaringBean(Bean<?> declaringBean) |
| Modifier and Type | Method and Description |
|---|---|
Set<Bean<?>> |
TypeSafeBeanResolver.BeanDisambiguation.load(Set<Bean<?>> from) |
<X> Set<Bean<? extends X>> |
TypeSafeBeanResolver.resolve(Set<Bean<? extends X>> beans) |
| Constructor and Description |
|---|
ResolvableBuilder.ResolvableImpl(Class<?> rawType,
Set<Type> typeClosure,
Map<Class<? extends Annotation>,Annotation> mappedQualifiers,
Bean<?> declaringBean,
Set<QualifierInstance> qualifierInstances) |
| Constructor and Description |
|---|
NameBasedResolver(BeanManagerImpl manager,
Iterable<? extends Bean<?>> allBeans)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Bean<?>> |
Beans.isSpecialized(T bean,
BeanManagerImpl beanManager)
Check if bean is specialized by any of beans
|
static <T extends Bean<?>> |
Beans.isSpecialized(T bean,
Set<T> beans,
BeanManagerImpl beanManager)
Check if bean is specialized by any of beans
|
static <T extends Bean<?>> |
Beans.removeDisabledAndSpecializedBeans(Set<T> beans,
BeanManagerImpl beanManager)
Retains only beans which have deployment type X.
|
| Modifier and Type | Method and Description |
|---|---|
Bean<?> |
BeansClosure.getClassBean(WeldClass<?> clazz) |
Bean<?> |
BeansClosure.getMostSpecializingBean(Bean<?> bean) |
Bean<?> |
BeansClosure.getSpecializingBean(Bean<?> bean) |
| Modifier and Type | Method and Description |
|---|---|
void |
BeansClosure.addSpecialized(Bean<?> specializedBean,
Bean<?> specializingBean) |
void |
BeansClosure.addSpecialized(Bean<?> specializedBean,
Bean<?> specializingBean) |
static <T> ConstructorInjectionPoint<T> |
Beans.getBeanConstructor(Bean<T> declaringBean,
WeldClass<T> type) |
static Set<WeldInjectionPoint<?,?>> |
Beans.getEjbInjectionPoints(Bean<?> declaringBean,
WeldClass<?> type,
BeanManagerImpl manager) |
static List<Set<FieldInjectionPoint<?,?>>> |
Beans.getFieldInjectionPoints(Bean<?> declaringBean,
WeldClass<?> weldClass) |
static List<Set<MethodInjectionPoint<?,?>>> |
Beans.getInitializerMethods(Bean<?> declaringBean,
WeldClass<?> weldClass) |
static List<Set<MethodInjectionPoint<?,?>>> |
Beans.getInitializerMethodsFromDeclaredMethods(Bean<?> declaringBean,
WeldClass<?> weldClass) |
Bean<?> |
BeansClosure.getMostSpecializingBean(Bean<?> bean) |
static Set<ParameterInjectionPoint<?,?>> |
Beans.getParameterInjectionPoints(Bean<?> declaringBean,
List<Set<MethodInjectionPoint<?,?>>> methodInjectionPoints) |
static Set<ParameterInjectionPoint<?,?>> |
Beans.getParameterInjectionPoints(Bean<?> declaringBean,
MethodInjectionPoint<?,?> method) |
static Set<ParameterInjectionPoint<?,?>> |
Beans.getParameterInjectionPoints(Bean<?> declaringBean,
WeldConstructor<?> constructor) |
static Set<WeldInjectionPoint<?,?>> |
Beans.getPersistenceContextInjectionPoints(Bean<?> declaringBean,
WeldClass<?> type,
BeanManagerImpl manager) |
static Set<WeldInjectionPoint<?,?>> |
Beans.getPersistenceUnitInjectionPoints(Bean<?> declaringBean,
WeldClass<?> type,
BeanManagerImpl manager) |
static Set<WeldInjectionPoint<?,?>> |
Beans.getResourceInjectionPoints(Bean<?> declaringBean,
WeldClass<?> type,
BeanManagerImpl manager) |
Bean<?> |
BeansClosure.getSpecializingBean(Bean<?> bean) |
static UnproxyableResolutionException |
Proxies.getUnproxyableTypesException(Bean<?> declaringBean) |
static boolean |
Beans.isBeanEnabled(Bean<?> bean,
Enabled enabled) |
static boolean |
Beans.isBeanProxyable(Bean<?> bean)
Indicates if a bean is proxyable
|
static boolean |
Beans.isNormalScoped(Bean<?> bean) |
static boolean |
Beans.isPassivatingScope(Bean<?> bean,
BeanManagerImpl manager)
Indicates if a bean's scope type is passivating
|
static boolean |
Beans.isPassivationCapableBean(Bean<?> bean)
Tests if a bean is capable of having its state temporarily stored to
secondary storage
|
static boolean |
Beans.isPassivationCapableDependency(Bean<?> bean)
Tests if a bean is capable of having its state temporarily stored to
secondary storage
|
boolean |
BeansClosure.isSpecialized(Bean<?> bean) |
static boolean |
Beans.isSuppressedBySpecialization(Bean<?> bean,
BeanManagerImpl manager)
Check if the given producer/disposer method of producer field is defined on a specialized bean and is therefore disabled.
|
static boolean |
Proxies.isTypesProxyable(Bean<?> declaringBean)
Indicates if a set of types are all proxyable
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Beans.isAlternativePresent(Set<Bean<?>> beans)
Check if any of the beans is an alternative
|
Copyright © 2013 Seam Framework. All Rights Reserved.