| Modifier and Type | Interface and Description |
|---|---|
interface |
EnhancedAnnotation<T extends java.lang.annotation.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 java.lang.annotation.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 java.util.Set<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getOverriddenMethods(EnhancedAnnotatedType<T> annotatedType,
java.util.Set<EnhancedAnnotatedMethod<?,? super T>> methods) |
protected java.util.Set<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotationImpl.getOverriddenMethods(EnhancedAnnotatedType<T> annotatedType,
java.util.Set<EnhancedAnnotatedMethod<?,? super T>> methods,
boolean skipOverridingBridgeMethods) |
protected java.util.Set<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getOverriddenMethods(EnhancedAnnotatedType<T> annotatedType,
java.util.Set<EnhancedAnnotatedMethod<?,? super T>> methods,
boolean skipOverridingBridgeMethods) |
static <T> EnhancedAnnotatedConstructor<T> |
EnhancedAnnotatedConstructorImpl.of(AnnotatedConstructor<T> annotatedConstructor,
EnhancedAnnotatedType<T> declaringClass,
ClassTransformer classTransformer) |
static <X,Y extends X> |
EnhancedAnnotatedFieldImpl.of(AnnotatedField<X> annotatedField,
EnhancedAnnotatedType<Y> declaringClass,
ClassTransformer classTransformer) |
static <T,X,Y extends X> |
EnhancedAnnotatedMethodImpl.of(AnnotatedMethod<X> annotatedMethod,
EnhancedAnnotatedType<Y> declaringClass,
ClassTransformer classTransformer) |
| Constructor and Description |
|---|
AbstractEnhancedAnnotatedCallable(AnnotatedCallable<X> annotatedCallable,
java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> annotationMap,
java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotationMap,
ClassTransformer classTransformer,
EnhancedAnnotatedType<X> declaringType) |
AbstractEnhancedAnnotatedMember(AnnotatedMember<X> annotatedMember,
java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> annotationMap,
java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.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> |
AbstractClassBean.getEnhancedAnnotated()
Gets the annotated item
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
BeanIdentifiers.forDecorator(EnhancedAnnotatedType<?> type) |
static java.lang.String |
BeanIdentifiers.forExtension(EnhancedAnnotatedType<?> type) |
static java.lang.String |
BeanIdentifiers.forInterceptor(EnhancedAnnotatedType<?> type) |
static java.lang.String |
BeanIdentifiers.forManagedBean(EnhancedAnnotatedType<?> type) |
static java.lang.String |
BeanIdentifiers.forNewManagedBean(EnhancedAnnotatedType<?> type) |
static java.lang.String |
BeanIdentifiers.forSessionBean(EnhancedAnnotatedType<?> type,
EjbDescriptor<?> descriptor) |
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> 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
|
| Modifier and Type | Method and Description |
|---|---|
static <T> BeanAttributes<T> |
BeanAttributesFactory.forNewManagedBean(EnhancedAnnotatedType<T> weldClass,
BeanManagerImpl manager) |
static <T> BeanAttributes<T> |
BeanAttributesFactory.forSessionBean(EnhancedAnnotatedType<T> annotated,
InternalEjbDescriptor<?> descriptor,
BeanManagerImpl manager)
Creates new
BeanAttributes to represent a session bean. |
| Constructor and Description |
|---|
ExtensionBean(BeanManagerImpl manager,
EnhancedAnnotatedType<Extension> clazz,
Metadata<Extension> instance) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<EnhancedAnnotatedType<?>> |
BeanDeployerEnvironment.getNewManagedBeanClasses() |
java.util.Map<InternalEjbDescriptor<?>,EnhancedAnnotatedType<?>> |
BeanDeployerEnvironment.getNewSessionBeanDescriptorsFromInjectionPoint() |
| 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 <T> void |
AbstractBeanDeployer.createNewManagedBean(EnhancedAnnotatedType<T> annotatedClass) |
protected <T> void |
AbstractBeanDeployer.createNewSessionBean(InternalEjbDescriptor<T> ejbDescriptor,
BeanAttributes<?> originalAttributes,
EnhancedAnnotatedType<?> type) |
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,
java.util.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 <T> SessionBean<T> |
AbstractBeanDeployer.createSessionBean(InternalEjbDescriptor<T> descriptor,
EnhancedAnnotatedType<T> weldClass) |
protected void |
BeanDeployer.validateDecorator(EnhancedAnnotatedType<?> weldClass) |
protected void |
BeanDeployer.validateInterceptor(EnhancedAnnotatedType<?> weldClass) |
| Constructor and Description |
|---|
BeanDeployerEnvironment(java.util.Set<SlimAnnotatedTypeContext<?>> annotatedTypes,
java.util.Set<java.lang.Class<?>> vetoedClasses,
SetMultimap<java.lang.Class<?>,AbstractClassBean<?>> classBeanMap,
java.util.Set<ProducerField<?,?>> producerFields,
SetMultimap<BeanDeployerEnvironment.WeldMethodKey,ProducerMethod<?,?>> producerMethodBeanMap,
java.util.Set<RIBean<?>> beans,
java.util.Set<ObserverInitializationContext<?,?>> observers,
java.util.Set<DisposalMethod<?,?>> allDisposalBeans,
java.util.Set<DisposalMethod<?,?>> resolvedDisposalBeans,
java.util.Set<DecoratorImpl<?>> decorators,
java.util.Set<InterceptorImpl<?>> interceptors,
EjbDescriptors ejbDescriptors,
java.util.Set<EnhancedAnnotatedType<?>> newManagedBeanClasses,
java.util.Map<InternalEjbDescriptor<?>,EnhancedAnnotatedType<?>> newSessionBeanDescriptorsFromInjectionPoint,
BeanManagerImpl manager) |
BeanDeployerEnvironment(java.util.Set<SlimAnnotatedTypeContext<?>> annotatedTypes,
java.util.Set<java.lang.Class<?>> vetoedClasses,
SetMultimap<java.lang.Class<?>,AbstractClassBean<?>> classBeanMap,
java.util.Set<ProducerField<?,?>> producerFields,
SetMultimap<BeanDeployerEnvironment.WeldMethodKey,ProducerMethod<?,?>> producerMethodBeanMap,
java.util.Set<RIBean<?>> beans,
java.util.Set<ObserverInitializationContext<?,?>> observers,
java.util.Set<DisposalMethod<?,?>> allDisposalBeans,
java.util.Set<DisposalMethod<?,?>> resolvedDisposalBeans,
java.util.Set<DecoratorImpl<?>> decorators,
java.util.Set<InterceptorImpl<?>> interceptors,
EjbDescriptors ejbDescriptors,
java.util.Set<EnhancedAnnotatedType<?>> newManagedBeanClasses,
java.util.Map<InternalEjbDescriptor<?>,EnhancedAnnotatedType<?>> newSessionBeanDescriptorsFromInjectionPoint,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
<T> ConstructorInjectionPoint<T> |
InjectionPointFactory.createConstructorInjectionPoint(Bean<T> declaringBean,
EnhancedAnnotatedType<T> type,
BeanManagerImpl manager) |
java.util.List<java.util.Set<FieldInjectionPoint<?,?>>> |
InjectionPointFactory.getFieldInjectionPoints(Bean<?> declaringBean,
EnhancedAnnotatedType<?> type,
BeanManagerImpl manager) |
java.util.List<java.util.Set<ResourceInjection<?>>> |
ResourceInjectionFactory.getResourceInjections(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) |
protected void |
BeanInjectionTarget.checkDecoratedMethods(EnhancedAnnotatedType<T> type,
java.util.List<Decorator<?>> decorators) |
protected void |
BeanInjectionTarget.checkNoArgsConstructor(EnhancedAnnotatedType<T> type) |
protected void |
NonProducibleInjectionTarget.checkType(EnhancedAnnotatedType<T> type) |
protected void |
BasicInjectionTarget.checkType(EnhancedAnnotatedType<T> type) |
static <T> BasicInjectionTarget<T> |
BasicInjectionTarget.create(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager,
Injector<T> injector,
LifecycleCallbackInvoker<T> invoker) |
static <T> BeanInjectionTarget<T> |
BeanInjectionTarget.createDefault(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager) |
static <T> BasicInjectionTarget<T> |
BasicInjectionTarget.createDefault(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager) |
static <T> BasicInjectionTarget<T> |
BasicInjectionTarget.createDefault(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager,
Instantiator<T> instantiator) |
protected java.lang.Class<T> |
SubclassedComponentInstantiator.createEnhancedSubclass(EnhancedAnnotatedType<T> type,
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,
Bean<T> bean,
BeanManagerImpl manager) |
static <T> SubclassedComponentInstantiator<T> |
SubclassedComponentInstantiator.forInterceptedDecoratedBean(EnhancedAnnotatedType<T> type,
Bean<T> bean,
AbstractInstantiator<T> delegate,
BeanManagerImpl manager) |
static <T> SubclassedComponentInstantiator<T> |
SubclassedComponentInstantiator.forSubclassedEjb(EnhancedAnnotatedType<T> componentType,
EnhancedAnnotatedType<T> subclass,
Bean<T> bean,
BeanManagerImpl manager) |
static <T> SubclassedComponentInstantiator<T> |
SubclassedComponentInstantiator.forSubclassedEjb(EnhancedAnnotatedType<T> componentType,
EnhancedAnnotatedType<T> subclass,
Bean<T> bean,
BeanManagerImpl manager) |
protected EnhancedAnnotatedConstructor<T> |
SubclassedComponentInstantiator.initEnhancedSubclass(BeanManagerImpl manager,
EnhancedAnnotatedType<T> type,
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,
Bean<T> bean,
BeanManagerImpl beanManager,
java.util.Set<InjectionPoint> injectionPoints) |
protected Instantiator<T> |
DecoratorInjectionTarget.initInstantiator(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager,
java.util.Set<InjectionPoint> injectionPoints) |
protected Instantiator<T> |
BasicInjectionTarget.initInstantiator(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager,
java.util.Set<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,
Bean<?> bean) |
static <T> DefaultLifecycleCallbackInvoker<T> |
DefaultLifecycleCallbackInvoker.of(EnhancedAnnotatedType<T> type) |
static <T> ResourceInjector<T> |
ResourceInjector.of(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager) |
static <T> DefaultInjector<T> |
DefaultInjector.of(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SessionBeanInjectionTarget.buildInterceptionModel(EnhancedAnnotatedType<T> annotatedType,
AbstractInstantiator<T> instantiator) |
void |
SessionBeanInjectionTarget.initializeAfterBeanDiscovery(EnhancedAnnotatedType<T> annotatedType) |
protected Instantiator<T> |
SessionBeanInjectionTarget.initInstantiator(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager,
java.util.Set<InjectionPoint> injectionPoints) |
static <T> SessionBeanInjectionTarget<T> |
SessionBeanInjectionTarget.of(EnhancedAnnotatedType<T> type,
SessionBean<T> bean,
BeanManagerImpl beanManager) |
| Constructor and Description |
|---|
SessionBeanProxyInstantiator(EnhancedAnnotatedType<T> type,
SessionBean<T> bean) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<InterceptionType,java.util.List<java.lang.reflect.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(java.lang.Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
BasicInjectionTarget<T> |
InjectionTargetFactoryImpl.createInjectionTarget(EnhancedAnnotatedType<T> type,
Bean<T> bean,
boolean interceptor) |
| Modifier and Type | Method and Description |
|---|---|
<T> EnhancedAnnotatedType<T> |
ClassTransformer.getEnhancedAnnotatedType(AnnotatedType<T> annotatedType,
java.lang.String bdaId) |
<T> EnhancedAnnotatedType<T> |
ClassTransformer.getEnhancedAnnotatedType(java.lang.Class<T> rawType,
java.lang.String bdaId) |
<T> EnhancedAnnotatedType<T> |
ClassTransformer.getEnhancedAnnotatedType(java.lang.Class<T> rawType,
java.lang.reflect.Type baseType,
java.lang.String bdaId) |
<T> EnhancedAnnotatedType<T> |
ClassTransformer.getEnhancedAnnotatedType(SlimAnnotatedType<T> annotatedType) |
| Modifier and Type | Method and Description |
|---|---|
static <T> EnhancedAnnotatedType<T> |
Beans.getEjbImplementationClass(InternalEjbDescriptor<T> ejbDescriptor,
BeanManagerImpl manager,
EnhancedAnnotatedType<T> componentType) |
static <T> EnhancedAnnotatedType<T> |
Beans.getEjbImplementationClass(SessionBean<T> bean)
Returns
EnhancedAnnotatedType for the EJB implementation class. |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
Decorators.checkAbstractMethods(java.util.Set<java.lang.reflect.Type> decoratedTypes,
EnhancedAnnotatedType<T> type,
BeanManagerImpl beanManager)
Check all abstract methods are declared by the decorated types.
|
static <T> EnhancedAnnotatedConstructor<T> |
Beans.getBeanConstructor(EnhancedAnnotatedType<T> type) |
static <T> EnhancedAnnotatedConstructor<T> |
Beans.getBeanConstructorStrict(EnhancedAnnotatedType<T> type) |
static <T> EnhancedAnnotatedType<T> |
Beans.getEjbImplementationClass(InternalEjbDescriptor<T> ejbDescriptor,
BeanManagerImpl manager,
EnhancedAnnotatedType<T> componentType) |
static <T> java.util.List<java.util.Set<MethodInjectionPoint<?,?>>> |
BeanMethods.getInitializerMethods(Bean<?> declaringBean,
EnhancedAnnotatedType<T> type,
BeanManagerImpl manager) |
static java.util.List<EnhancedAnnotatedMethod<?,?>> |
Beans.getInterceptableMethods(EnhancedAnnotatedType<?> type) |
static <T> java.util.List<java.lang.reflect.Method> |
BeanMethods.getInterceptorMethods(EnhancedAnnotatedType<T> type,
InterceptionType interceptionType,
boolean targetClass) |
static <T> java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
BeanMethods.getObserverMethods(EnhancedAnnotatedType<T> type) |
static <T> java.util.List<AnnotatedMethod<? super T>> |
BeanMethods.getPostConstructMethods(EnhancedAnnotatedType<T> type) |
static <T> java.util.List<AnnotatedMethod<? super T>> |
BeanMethods.getPreDestroyMethods(EnhancedAnnotatedType<T> type) |
static <T> boolean |
Beans.isDecorator(EnhancedAnnotatedType<T> annotatedItem) |
static Multimap<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> |
Interceptors.mergeBeanInterceptorBindings(BeanManagerImpl beanManager,
EnhancedAnnotatedType<?> clazz,
java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> stereotypes)
Merge class-level interceptor bindings with interceptor bindings inherited from interceptor bindings and stereotypes.
|
Copyright © 2014. All Rights Reserved.