Package | Description |
---|---|
javax.enterprise.inject.spi |
The portable extension integration SPI.
|
org.jboss.weld.bean | |
org.jboss.weld.bean.attributes | |
org.jboss.weld.bean.builtin | |
org.jboss.weld.bean.builtin.ee | |
org.jboss.weld.bootstrap | |
org.jboss.weld.bootstrap.events | |
org.jboss.weld.manager | |
org.jboss.weld.util | |
org.jboss.weld.util.bean |
Modifier and Type | Interface and Description |
---|---|
interface |
Bean<T>
Represents an enabled bean.
|
interface |
Decorator<T>
Represents an enabled decorator.
|
interface |
Interceptor<T>
Represents an enabled interceptor.
|
Modifier and Type | Method and Description |
---|---|
BeanAttributes<?> |
BeanManager.createBeanAttributes(AnnotatedMember<?> type)
Obtains a
BeanAttributes for the given AnnotatedType . |
<T> BeanAttributes<T> |
BeanManager.createBeanAttributes(AnnotatedType<T> type)
Obtains a
BeanAttributes for the given AnnotatedType . |
BeanAttributes<T> |
ProcessBeanAttributes.getBeanAttributes() |
Modifier and Type | Method and Description |
---|---|
<T> Bean<T> |
BeanManager.createBean(BeanAttributes<T> attributes,
Class<T> beanClass,
InjectionTargetFactory<T> injectionTargetFactory)
|
<T,X> Bean<T> |
BeanManager.createBean(BeanAttributes<T> attributes,
Class<X> beanClass,
ProducerFactory<X> producerFactory)
|
void |
ProcessBeanAttributes.setBeanAttributes(BeanAttributes<T> beanAttributes)
Replaces the
BeanAttributes . |
Modifier and Type | Interface and Description |
---|---|
interface |
DecorableBean<T>
Marker interface for a
Bean that can have decorators. |
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 |
AbstractSyntheticBean<T>
|
class |
CommonBean<T>
Common superclass for beans that are identified using id.
|
class |
CustomDecoratorWrapper<T>
A wrapper for a decorated instance.
|
class |
DecoratorImpl<T> |
class |
ForwardingBean<T>
A delegating bean
|
class |
ForwardingDecorator<T> |
class |
ForwardingInterceptor<T>
Delegating implementation of
Interceptor . |
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
|
class |
SyntheticClassBean<T>
Represents a class bean created based on extension-provided
InjectionTarget implementation. |
class |
SyntheticDecorator<T>
Represents a
Decorator created based on extension-provided InjectionTarget implementation. |
class |
SyntheticProducerBean<T,X>
Represents a producer field or producer method created based on extension-provided
Producer implementation. |
Modifier and Type | Method and Description |
---|---|
protected BeanAttributes<T> |
ForwardingInterceptor.attributes() |
protected BeanAttributes<T> |
ForwardingDecorator.attributes() |
protected BeanAttributes<T> |
ForwardingBean.attributes() |
protected BeanAttributes<T> |
CommonBean.attributes() |
Modifier and Type | Method and Description |
---|---|
static <T> AbstractSyntheticBean<T> |
SyntheticBeanFactory.create(BeanAttributes<T> attributes,
Class<T> beanClass,
InjectionTargetFactory<T> factory,
BeanManagerImpl manager) |
static <T,X> AbstractSyntheticBean<T> |
SyntheticBeanFactory.create(BeanAttributes<T> attributes,
Class<X> beanClass,
ProducerFactory<X> factory,
BeanManagerImpl manager) |
protected static <T> String |
AbstractSyntheticBean.createId(BeanAttributes<T> attributes,
Class<?> beanClass) |
static <X,T> ProducerField<X,T> |
ProducerField.of(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl beanManager,
ServiceRegistry services)
Creates a producer field
|
static <X,T> ProducerMethod<X,T> |
ProducerMethod.of(BeanAttributes<T> attributes,
EnhancedAnnotatedMethod<T,? super X> method,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl beanManager,
ServiceRegistry services)
Creates a producer method Web Bean
|
static <T> NewManagedBean<T> |
NewManagedBean.of(BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> clazz,
BeanManagerImpl beanManager)
Creates an instance of a NewSimpleBean from an annotated class
|
static <T> ManagedBean<T> |
ManagedBean.of(BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> clazz,
BeanManagerImpl beanManager)
Creates a simple, annotation defined Web Bean
|
static <T> InterceptorImpl<T> |
InterceptorImpl.of(BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> type,
BeanManagerImpl beanManager) |
static <T> DecoratorImpl<T> |
DecoratorImpl.of(BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> clazz,
BeanManagerImpl beanManager)
Creates a decorator bean
|
static <T> NewSessionBean<T> |
NewSessionBean.of(BeanAttributes<T> attributes,
InternalEjbDescriptor<T> ejbDescriptor,
BeanManagerImpl beanManager)
Creates an instance of a NewEnterpriseBean from an annotated class
|
static <T> SessionBean<T> |
SessionBean.of(BeanAttributes<T> attributes,
InternalEjbDescriptor<T> ejbDescriptor,
BeanManagerImpl beanManager,
EnhancedAnnotatedType<T> type)
Creates a simple, annotation defined Enterprise Web Bean using the annotations specified on type
|
void |
CommonBean.setAttributes(BeanAttributes<T> attributes) |
Modifier and Type | Class and Description |
---|---|
class |
ImmutableBeanAttributes<T>
Implementation of
BeanAttributes used by Weld. |
Modifier and Type | Method and Description |
---|---|
static <T> BeanAttributes<T> |
BeanAttributesFactory.forBean(EnhancedAnnotated<T,?> annotated,
BeanManagerImpl manager)
Creates new
BeanAttributes to represent a managed bean. |
static <T> BeanAttributes<T> |
BeanAttributesFactory.forNewBean(Set<Type> types,
Class<?> javaClass) |
static <T> BeanAttributes<T> |
BeanAttributesFactory.forNewManagedBean(EnhancedAnnotatedType<T> weldClass,
BeanManagerImpl manager) |
static <T> BeanAttributes<T> |
BeanAttributesFactory.forNewSessionBean(BeanAttributes<T> originalAttributes,
Class<?> javaClass) |
static <T> BeanAttributes<T> |
BeanAttributesFactory.forSessionBean(EnhancedAnnotatedType<T> annotated,
InternalEjbDescriptor<?> descriptor,
BeanManagerImpl manager)
Creates new
BeanAttributes to represent a session bean. |
static <T> BeanAttributes<T> |
ExternalBeanAttributesFactory.of(BeanAttributes<T> source,
BeanManager manager) |
Modifier and Type | Method and Description |
---|---|
static <T> BeanAttributes<T> |
BeanAttributesFactory.forNewSessionBean(BeanAttributes<T> originalAttributes,
Class<?> javaClass) |
static <T> BeanAttributes<T> |
ExternalBeanAttributesFactory.of(BeanAttributes<T> source,
BeanManager manager) |
static void |
ExternalBeanAttributesFactory.validateBeanAttributes(BeanAttributes<?> attributes,
BeanManager manager)
Validates
BeanAttributes . |
static void |
ExternalBeanAttributesFactory.validateQualifiers(BeanAttributes<?> attributes,
BeanManager manager) |
static void |
ExternalBeanAttributesFactory.validateScope(BeanAttributes<?> attributes,
BeanManager manager) |
static void |
ExternalBeanAttributesFactory.validateStereotypes(BeanAttributes<?> attributes,
BeanManager manager) |
static void |
ExternalBeanAttributesFactory.validateTypes(BeanAttributes<?> attributes,
BeanManager manager) |
Constructor and Description |
---|
ImmutableBeanAttributes(Set<Annotation> qualifiers,
String name,
BeanAttributes<T> attributes)
Utility constructor used for overriding Bean qualifiers and name for specialization purposes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBuiltInBean<T> |
protected static class |
AbstractBuiltInBean.BuiltInBeanAttributes<T> |
class |
AbstractBuiltInMetadataBean<T>
|
class |
AbstractDecorableBuiltInBean<T>
Built-in bean that can be decorated by a
Decorator |
class |
AbstractFacadeBean<T>
The built-in bean for facade objects.
|
class |
AbstractStaticallyDecorableBuiltInBean<T>
A decorated built-in bean for which, unlike
AbstractFacadeBean , decorators only need to be resolved once. |
class |
BeanManagerBean |
class |
BeanManagerImplBean |
class |
BeanMetadataBean
Allows a bean to obtain information about itself.
|
class |
ContextBean<T extends Context> |
class |
ConversationBean |
class |
DecoratedBeanMetadataBean
Allows a decorator to obtain information about the bean it decorates.
|
class |
DecoratorMetadataBean
Allows a decorator to obtain information about itself.
|
class |
EventBean |
class |
EventMetadataBean
Built-in bean for event metadata.
|
class |
ExtensionBean |
class |
InjectionPointBean
Bean for InjectionPoint metadata
|
class |
InstanceBean |
class |
InterceptedBeanMetadataBean
Allows an interceptor to obtain information about the bean it intercepts.
|
class |
InterceptorMetadataBean
Allows an interceptor to obtain information about itself.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEEBean<T> |
class |
EEResourceProducerField<X,T> |
class |
HttpServletRequestBean
Built-in bean exposing
HttpServletRequest . |
class |
HttpSessionBean
Built-in bean exposing
HttpSession . |
class |
PrincipalBean |
class |
ServletContextBean
Built-in bean exposing
ServletContext . |
class |
StaticEEResourceProducerField<X,T>
A resource producer field that is static (not injected).
|
class |
UserTransactionBean |
Modifier and Type | Method and Description |
---|---|
static <X,T> StaticEEResourceProducerField<X,T> |
StaticEEResourceProducerField.of(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
ServiceRegistry services) |
static <X,T> EEResourceProducerField<X,T> |
EEResourceProducerField.of(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
ServiceRegistry services)
Creates an EE resource producer field
|
Constructor and Description |
---|
EEResourceProducerField(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
ServiceRegistry services) |
StaticEEResourceProducerField(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
ServiceRegistry services) |
Modifier and Type | Method and Description |
---|---|
protected <T> void |
AbstractBeanDeployer.createNewSessionBean(InternalEjbDescriptor<T> ejbDescriptor,
BeanAttributes<?> originalAttributes,
EnhancedAnnotatedType<?> type) |
protected <X> DisposalMethod<X,?> |
AbstractBeanDeployer.resolveDisposalMethod(BeanAttributes<?> attributes,
AbstractClassBean<X> declaringBean) |
Modifier and Type | Method and Description |
---|---|
BeanAttributes<T> |
ProcessBeanAttributesImpl.getBeanAttributes() |
Modifier and Type | Method and Description |
---|---|
protected static <T> ProcessBeanAttributesImpl<T> |
ProcessBeanAttributesImpl.fire(BeanManagerImpl beanManager,
BeanAttributes<T> attributes,
Annotated annotated,
Type type) |
<T> ProcessBeanAttributesImpl<T> |
ContainerLifecycleEvents.fireProcessBeanAttributes(BeanManagerImpl beanManager,
BeanAttributes<T> attributes,
Annotated annotated,
Type type) |
void |
ProcessBeanAttributesImpl.setBeanAttributes(BeanAttributes<T> beanAttributes) |
Modifier and Type | Method and Description |
---|---|
BeanAttributes<?> |
BeanManagerImpl.createBeanAttributes(AnnotatedMember<?> member) |
<T> BeanAttributes<T> |
BeanManagerImpl.createBeanAttributes(AnnotatedType<T> type) |
<X> BeanAttributes<?> |
BeanManagerImpl.internalCreateBeanAttributes(AnnotatedMember<X> member) |
Modifier and Type | Method and Description |
---|---|
<T> Bean<T> |
BeanManagerImpl.createBean(BeanAttributes<T> attributes,
Class<T> beanClass,
InjectionTargetFactory<T> injectionTargetFactory) |
<T,X> Bean<T> |
BeanManagerImpl.createBean(BeanAttributes<T> attributes,
Class<X> beanClass,
ProducerFactory<X> producerFactory) |
Modifier and Type | Method and Description |
---|---|
BeanAttributes<?> |
ForwardingBeanManager.createBeanAttributes(AnnotatedMember<?> type) |
<T> BeanAttributes<T> |
ForwardingBeanManager.createBeanAttributes(AnnotatedType<T> type) |
Modifier and Type | Method and Description |
---|---|
<T> Bean<T> |
ForwardingBeanManager.createBean(BeanAttributes<T> attributes,
Class<T> beanClass,
InjectionTargetFactory<T> injectionTargetFactory) |
<T,X> Bean<T> |
ForwardingBeanManager.createBean(BeanAttributes<T> attributes,
Class<X> beanClass,
ProducerFactory<X> producerFactory) |
static String |
Beans.createBeanAttributesId(BeanAttributes<?> attributes)
Generates a unique signature for
BeanAttributes . |
Modifier and Type | Class and Description |
---|---|
class |
ForwardingBeanAttributes<T>
Delegating
BeanAttributes . |
class |
IsolatedForwardingBean<T>
Delegating implementation of
Bean . |
static class |
IsolatedForwardingBean.Impl<T> |
class |
IsolatedForwardingDecorator<T>
Delegating implementation of
Decorator . |
static class |
IsolatedForwardingDecorator.Impl<T> |
class |
IsolatedForwardingInterceptor<T>
Delegating implementation of
Interceptor . |
static class |
IsolatedForwardingInterceptor.Impl<T> |
class |
SerializableForwardingBean<T> |
Modifier and Type | Method and Description |
---|---|
protected BeanAttributes<T> |
IsolatedForwardingInterceptor.Impl.attributes() |
protected BeanAttributes<T> |
IsolatedForwardingDecorator.Impl.attributes() |
protected BeanAttributes<T> |
IsolatedForwardingBean.Impl.attributes() |
protected abstract BeanAttributes<T> |
ForwardingBeanAttributes.attributes() |
BeanAttributes<T> |
WrappedBeanHolder.getAttributes() |
Modifier and Type | Method and Description |
---|---|
static <T,S extends Bean<T>> |
WrappedBeanHolder.of(BeanAttributes<T> attributes,
S bean) |
Constructor and Description |
---|
WrappedBeanHolder(BeanAttributes<T> attributes,
S bean) |
Copyright © 2013 Seam Framework. All Rights Reserved.