| Modifier and Type | Interface and Description |
|---|---|
interface |
EnhancedAnnotation<T extends Annotation>
Represents a meta annotation
|
| Modifier and Type | Method and Description |
|---|---|
<U> EnhancedAnnotatedType<? extends U> |
EnhancedAnnotatedType.asEnhancedSubclass(EnhancedAnnotatedType<U> clazz) |
EnhancedAnnotatedType<X> |
EnhancedAnnotatedParameter.getDeclaringType() |
EnhancedAnnotatedType<X> |
EnhancedAnnotatedMember.getDeclaringType()
Gets an abstraction of the declaring class
|
EnhancedAnnotatedType<? super T> |
EnhancedAnnotatedType.getEnhancedSuperclass()
Gets the superclass.
|
| Modifier and Type | Method and Description |
|---|---|
<U> EnhancedAnnotatedType<? extends U> |
EnhancedAnnotatedType.asEnhancedSubclass(EnhancedAnnotatedType<U> clazz) |
| Modifier and Type | Class and Description |
|---|---|
class |
EnhancedAnnotatedTypeImpl<T>
Represents an annotated class
This class is immutable, and therefore threadsafe
|
class |
EnhancedAnnotationImpl<T extends Annotation>
Represents an annotated annotation
This class is immutable and therefore threadsafe
|
| Modifier and Type | Method and Description |
|---|---|
<U> EnhancedAnnotatedType<? extends U> |
EnhancedAnnotatedTypeImpl.asEnhancedSubclass(EnhancedAnnotatedType<U> clazz) |
EnhancedAnnotatedType<X> |
EnhancedAnnotatedParameterImpl.getDeclaringType() |
EnhancedAnnotatedType<X> |
AbstractEnhancedAnnotatedMember.getDeclaringType() |
EnhancedAnnotatedType<? super T> |
EnhancedAnnotatedTypeImpl.getEnhancedSuperclass()
Gets the superclass abstraction of the type
|
static <T> EnhancedAnnotatedType<T> |
EnhancedAnnotatedTypeImpl.of(SlimAnnotatedType<T> annotatedType,
ClassTransformer classTransformer) |
| Modifier and Type | Method and Description |
|---|---|
<U> EnhancedAnnotatedType<? extends U> |
EnhancedAnnotatedTypeImpl.asEnhancedSubclass(EnhancedAnnotatedType<U> clazz) |
protected Set<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getOverriddenMethods(EnhancedAnnotatedType<T> annotatedType,
Set<EnhancedAnnotatedMethod<?,? super T>> methods) |
protected Set<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotationImpl.getOverriddenMethods(EnhancedAnnotatedType<T> annotatedType,
Set<EnhancedAnnotatedMethod<?,? super T>> methods,
boolean skipOverridingBridgeMethods) |
protected Set<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getOverriddenMethods(EnhancedAnnotatedType<T> annotatedType,
Set<EnhancedAnnotatedMethod<?,? super T>> methods,
boolean skipOverridingBridgeMethods) |
static <T> EnhancedAnnotatedConstructor<T> |
EnhancedAnnotatedConstructorImpl.of(javax.enterprise.inject.spi.AnnotatedConstructor<T> annotatedConstructor,
EnhancedAnnotatedType<T> declaringClass,
ClassTransformer classTransformer) |
static <X,Y extends X> |
EnhancedAnnotatedFieldImpl.of(javax.enterprise.inject.spi.AnnotatedField<X> annotatedField,
EnhancedAnnotatedType<Y> declaringClass,
ClassTransformer classTransformer) |
static <T,X,Y extends X> |
EnhancedAnnotatedMethodImpl.of(javax.enterprise.inject.spi.AnnotatedMethod<X> annotatedMethod,
EnhancedAnnotatedType<Y> declaringClass,
ClassTransformer classTransformer) |
| Constructor and Description |
|---|
AbstractEnhancedAnnotatedCallable(javax.enterprise.inject.spi.AnnotatedCallable<X> annotatedCallable,
Map<Class<? extends Annotation>,Annotation> annotationMap,
Map<Class<? extends Annotation>,Annotation> declaredAnnotationMap,
ClassTransformer classTransformer,
EnhancedAnnotatedType<X> declaringType) |
AbstractEnhancedAnnotatedMember(javax.enterprise.inject.spi.AnnotatedMember<X> annotatedMember,
Map<Class<? extends Annotation>,Annotation> annotationMap,
Map<Class<? extends Annotation>,Annotation> declaredAnnotationMap,
ClassTransformer classTransformer,
EnhancedAnnotatedType<X> declaringType)
Constructor
|
| Modifier and Type | Field and Description |
|---|---|
protected EnhancedAnnotatedType<T> |
AbstractClassBean.enhancedAnnotatedItem |
| Modifier and Type | Method and Description |
|---|---|
EnhancedAnnotatedType<?> |
WeldDecorator.getEnhancedAnnotated() |
EnhancedAnnotatedType<?> |
CustomDecoratorWrapper.getEnhancedAnnotated() |
EnhancedAnnotatedType<T> |
ClassBean.getEnhancedAnnotated()
Returns enhanced annotated type metadata.
|
EnhancedAnnotatedType<T> |
AbstractClassBean.getEnhancedAnnotated()
Gets the annotated item
|
| Modifier and Type | Method and Description |
|---|---|
static String |
BeanIdentifiers.forDecorator(EnhancedAnnotatedType<?> type) |
static String |
BeanIdentifiers.forExtension(EnhancedAnnotatedType<?> type) |
static String |
BeanIdentifiers.forInterceptor(EnhancedAnnotatedType<?> type) |
static String |
BeanIdentifiers.forManagedBean(EnhancedAnnotatedType<?> type) |
static String |
BeanIdentifiers.forNewManagedBean(EnhancedAnnotatedType<?> type) |
static <T> NewManagedBean<T> |
NewManagedBean.of(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> clazz,
BeanManagerImpl beanManager)
Creates an instance of a NewSimpleBean from an annotated class
|
static <T> ManagedBean<T> |
ManagedBean.of(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> clazz,
BeanManagerImpl beanManager)
Creates a simple, annotation defined Web Bean
|
static <T> InterceptorImpl<T> |
InterceptorImpl.of(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> type,
BeanManagerImpl beanManager) |
static <T> DecoratorImpl<T> |
DecoratorImpl.of(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> clazz,
BeanManagerImpl beanManager)
Creates a decorator bean
|
| Constructor and Description |
|---|
AbstractClassBean(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> type,
org.jboss.weld.serialization.spi.BeanIdentifier identifier,
BeanManagerImpl beanManager)
Constructor
|
DecoratorImpl(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> type,
BeanManagerImpl beanManager) |
InterceptorImpl(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> type,
BeanManagerImpl beanManager) |
ManagedBean(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> type,
org.jboss.weld.serialization.spi.BeanIdentifier identifier,
BeanManagerImpl beanManager)
Constructor
|
NewManagedBean(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> type,
org.jboss.weld.serialization.spi.BeanIdentifier identifier,
BeanManagerImpl beanManager)
Protected constructor
|
| Modifier and Type | Method and Description |
|---|---|
static <T> javax.enterprise.inject.spi.BeanAttributes<T> |
BeanAttributesFactory.forNewManagedBean(EnhancedAnnotatedType<T> weldClass,
BeanManagerImpl manager) |
| Constructor and Description |
|---|
ExtensionBean(BeanManagerImpl manager,
EnhancedAnnotatedType<E> enhancedAnnotatedType,
org.jboss.weld.bootstrap.spi.Metadata<E> instance) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> void |
AbstractBeanDeployer.createDecorator(EnhancedAnnotatedType<T> weldClass) |
protected <X> void |
AbstractBeanDeployer.createDisposalMethods(AbstractClassBean<X> declaringBean,
EnhancedAnnotatedType<X> annotatedClass) |
protected <T> void |
AbstractBeanDeployer.createInterceptor(EnhancedAnnotatedType<T> weldClass) |
protected <T> ManagedBean<T> |
AbstractBeanDeployer.createManagedBean(EnhancedAnnotatedType<T> weldClass) |
protected <X> void |
AbstractBeanDeployer.createObserverMethods(AbstractClassBean<X> declaringBean,
EnhancedAnnotatedType<? super X> annotatedClass) |
protected <X> void |
ExtensionBeanDeployer.createObserverMethods(RIBean<X> declaringBean,
BeanManagerImpl beanManager,
EnhancedAnnotatedType<? super X> annotatedClass,
Set<ObserverInitializationContext<?,?>> observerMethodInitializers) |
protected <X> void |
AbstractBeanDeployer.createProducerFields(AbstractClassBean<X> declaringBean,
EnhancedAnnotatedType<X> annotatedClass) |
protected <X> void |
AbstractBeanDeployer.createProducerMethods(AbstractClassBean<X> declaringBean,
EnhancedAnnotatedType<X> type) |
protected void |
BeanDeployer.validateDecorator(EnhancedAnnotatedType<?> weldClass) |
protected void |
BeanDeployer.validateInterceptor(EnhancedAnnotatedType<?> weldClass) |
| Modifier and Type | Method and Description |
|---|---|
<T> ConstructorInjectionPoint<T> |
InjectionPointFactory.createConstructorInjectionPoint(javax.enterprise.inject.spi.Bean<T> declaringBean,
EnhancedAnnotatedType<T> type,
BeanManagerImpl manager) |
protected <T> Set<ResourceInjection<?>> |
ResourceInjectionProcessor.createResourceInjections(javax.enterprise.inject.spi.Bean<?> declaringBean,
EnhancedAnnotatedType<T> type,
BeanManagerImpl manager) |
List<Set<FieldInjectionPoint<?,?>>> |
InjectionPointFactory.getFieldInjectionPoints(javax.enterprise.inject.spi.Bean<?> declaringBean,
EnhancedAnnotatedType<?> type,
BeanManagerImpl manager) |
List<Set<ResourceInjection<?>>> |
ResourceInjectionFactory.getResourceInjections(javax.enterprise.inject.spi.Bean<?> declaringBean,
EnhancedAnnotatedType<?> type,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
InjectionTargetService.addInjectionTargetToBeInitialized(EnhancedAnnotatedType<T> type,
BasicInjectionTarget<T> injectionTarget) |
protected void |
BeanInjectionTarget.buildInterceptionModel(EnhancedAnnotatedType<T> annotatedType,
AbstractInstantiator<T> instantiator) |
static <T> NonProducibleInjectionTarget<T> |
NonProducibleInjectionTarget.create(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager) |
static <T> BasicInjectionTarget<T> |
BasicInjectionTarget.create(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager,
Injector<T> injector,
LifecycleCallbackInvoker<T> invoker) |
static <T> NonProducibleInjectionTarget<T> |
NonProducibleInjectionTarget.create(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
Injector<T> injector,
LifecycleCallbackInvoker<T> invoker,
BeanManagerImpl beanManager) |
static <T> BeanInjectionTarget<T> |
BeanInjectionTarget.createDefault(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager) |
static <T> BasicInjectionTarget<T> |
BasicInjectionTarget.createDefault(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager,
Instantiator<T> instantiator) |
protected Class<T> |
SubclassedComponentInstantiator.createEnhancedSubclass(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<?> bean,
BeanManagerImpl manager) |
static <T> BasicInjectionTarget<T> |
BasicInjectionTarget.createNonCdiInterceptor(EnhancedAnnotatedType<T> type,
BeanManagerImpl beanManager)
Creates
InjectionTarget for interceptors which do not have associated Interceptor. |
static <T> BeanInjectionTarget<T> |
BeanInjectionTarget.forCdiInterceptor(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl manager) |
static <T> SubclassedComponentInstantiator<T> |
SubclassedComponentInstantiator.forInterceptedDecoratedBean(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
AbstractInstantiator<T> delegate,
BeanManagerImpl manager) |
static <T> SubclassedComponentInstantiator<T> |
SubclassedComponentInstantiator.forSubclassedEjb(EnhancedAnnotatedType<T> componentType,
EnhancedAnnotatedType<T> subclass,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl manager) |
static <T> SubclassedComponentInstantiator<T> |
SubclassedComponentInstantiator.forSubclassedEjb(EnhancedAnnotatedType<T> componentType,
EnhancedAnnotatedType<T> subclass,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl manager) |
protected void |
BeanInjectionTarget.checkDecoratedMethods(EnhancedAnnotatedType<T> type,
List<javax.enterprise.inject.spi.Decorator<?>> decorators) |
protected void |
BeanInjectionTarget.checkNoArgsConstructor(EnhancedAnnotatedType<T> type) |
protected void |
NonProducibleInjectionTarget.checkType(EnhancedAnnotatedType<T> type) |
protected void |
BasicInjectionTarget.checkType(EnhancedAnnotatedType<T> type) |
protected EnhancedAnnotatedConstructor<T> |
SubclassedComponentInstantiator.initEnhancedSubclass(BeanManagerImpl manager,
EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<?> bean,
ConstructorInjectionPoint<T> originalConstructorInjectionPoint) |
void |
DecoratorInjectionTarget.initializeAfterBeanDiscovery(EnhancedAnnotatedType<T> annotatedType) |
void |
BeanInjectionTarget.initializeAfterBeanDiscovery(EnhancedAnnotatedType<T> annotatedType) |
protected void |
BasicInjectionTarget.initializeAfterBeanDiscovery(EnhancedAnnotatedType<T> annotatedType) |
protected void |
BeanInjectionTarget.initializeInterceptionModel(EnhancedAnnotatedType<T> annotatedType) |
protected Instantiator<T> |
NonProducibleInjectionTarget.initInstantiator(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager,
Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints) |
protected Instantiator<T> |
DecoratorInjectionTarget.initInstantiator(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager,
Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints) |
protected Instantiator<T> |
BasicInjectionTarget.initInstantiator(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager,
Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints)
Returns an instantiator that will be used to create a new instance of a given component.
|
static <T> InterceptionModelInitializer<T> |
InterceptionModelInitializer.of(BeanManagerImpl manager,
EnhancedAnnotatedType<T> annotatedType,
javax.enterprise.inject.spi.Bean<?> bean) |
static <T> DefaultLifecycleCallbackInvoker<T> |
DefaultLifecycleCallbackInvoker.of(EnhancedAnnotatedType<T> type) |
static <T> ResourceInjector<T> |
ResourceInjector.of(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager) |
static <T> DefaultInjector<T> |
DefaultInjector.of(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager) |
| Modifier and Type | Method and Description |
|---|---|
static Map<InterceptionType,List<Method>> |
InterceptorMetadataUtils.buildMethodMap(EnhancedAnnotatedType<?> type,
boolean forTargetClass,
BeanManagerImpl manager) |
<T> TargetClassInterceptorMetadata |
InterceptorMetadataReader.getTargetClassInterceptorMetadata(EnhancedAnnotatedType<T> type) |
| Modifier and Type | Method and Description |
|---|---|
<T> EnhancedAnnotatedType<T> |
BeanManagerImpl.createEnhancedAnnotatedType(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
BasicInjectionTarget<T> |
InjectionTargetFactoryImpl.createInjectionTarget(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
boolean interceptor) |
| Modifier and Type | Method and Description |
|---|---|
<T> BasicInjectionTarget<T> |
EjbSupport.createMessageDrivenInjectionTarget(EnhancedAnnotatedType<T> type,
org.jboss.weld.ejb.spi.EjbDescriptor<T> descriptor,
BeanManagerImpl manager)
Creates an
InjectionTarget implementation for a message-driven bean. |
<T> javax.enterprise.inject.spi.BeanAttributes<T> |
EjbSupport.createSessionBeanAttributes(EnhancedAnnotatedType<T> type,
BeanManagerImpl manager)
Creates a
BeanAttributes object for a session bean from the given annotated type and ejb descriptor. |
<T> BasicInjectionTarget<T> |
EjbSupport.createSessionBeanInjectionTarget(EnhancedAnnotatedType<T> type,
SessionBean<T> bean,
BeanManagerImpl manager)
Creates an
InjectionTarget implementation for a given session bean. |
| Modifier and Type | Method and Description |
|---|---|
<T> EnhancedAnnotatedType<T> |
ClassTransformer.getEnhancedAnnotatedType(javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
String bdaId) |
<T> EnhancedAnnotatedType<T> |
ClassTransformer.getEnhancedAnnotatedType(Class<T> rawType,
String bdaId) |
<T> EnhancedAnnotatedType<T> |
ClassTransformer.getEnhancedAnnotatedType(Class<T> rawType,
Type baseType,
String bdaId) |
<T> EnhancedAnnotatedType<T> |
ClassTransformer.getEnhancedAnnotatedType(SlimAnnotatedType<T> annotatedType) |
| Modifier and Type | Method and Description |
|---|---|
static <T> NonProducibleInjectionTarget<T> |
InjectionTargets.createNonProducibleInjectionTarget(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager) |
static <T> NonProducibleInjectionTarget<T> |
InjectionTargets.createNonProducibleInjectionTarget(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
Injector<T> injector,
LifecycleCallbackInvoker<T> invoker,
BeanManagerImpl beanManager) |
static Set<Annotation> |
Interceptors.flattenInterceptorBindings(EnhancedAnnotatedType<?> clazz,
BeanManagerImpl beanManager,
Collection<Annotation> annotations,
boolean addTopLevelInterceptorBindings,
boolean addInheritedInterceptorBindings)
Extracts a flat set of interception bindings from a given set of interceptor bindings.
|
static <T> Collection<EnhancedAnnotatedMethod<?,? super T>> |
BeanMethods.getAsyncObserverMethods(EnhancedAnnotatedType<T> type) |
static <T> EnhancedAnnotatedConstructor<T> |
Beans.getBeanConstructor(EnhancedAnnotatedType<T> type) |
static <T> EnhancedAnnotatedConstructor<T> |
Beans.getBeanConstructorStrict(EnhancedAnnotatedType<T> type) |
static <T> List<Set<MethodInjectionPoint<?,?>>> |
BeanMethods.getInitializerMethods(javax.enterprise.inject.spi.Bean<?> declaringBean,
EnhancedAnnotatedType<T> type,
BeanManagerImpl manager) |
static List<EnhancedAnnotatedMethod<?,?>> |
Beans.getInterceptableMethods(EnhancedAnnotatedType<?> type) |
static <T> List<Method> |
BeanMethods.getInterceptorMethods(EnhancedAnnotatedType<T> type,
InterceptionType interceptionType,
boolean targetClass) |
static <T> Collection<EnhancedAnnotatedMethod<?,? super T>> |
BeanMethods.getObserverMethods(EnhancedAnnotatedType<T> type) |
static <T> List<javax.enterprise.inject.spi.AnnotatedMethod<? super T>> |
BeanMethods.getPostConstructMethods(EnhancedAnnotatedType<T> type) |
static <T> List<javax.enterprise.inject.spi.AnnotatedMethod<? super T>> |
BeanMethods.getPreDestroyMethods(EnhancedAnnotatedType<T> type) |
static <T> void |
Decorators.checkAbstractMethods(Set<Type> decoratedTypes,
EnhancedAnnotatedType<T> type,
BeanManagerImpl beanManager)
Check all abstract methods are declared by the decorated types.
|
static <T> boolean |
Beans.isDecorator(EnhancedAnnotatedType<T> annotatedItem) |
static Multimap<Class<? extends Annotation>,Annotation> |
Interceptors.mergeBeanInterceptorBindings(BeanManagerImpl beanManager,
EnhancedAnnotatedType<?> clazz,
Collection<Class<? extends Annotation>> stereotypes)
Merge class-level interceptor bindings with interceptor bindings inherited from interceptor bindings and stereotypes.
|
Copyright © 2017. All rights reserved.