| Package | Description |
|---|---|
| org.jboss.weld.annotated.enhanced |
JBoss, Home of Professional Open Source
Copyright 2015, Red Hat, Inc.
|
| org.jboss.weld.annotated.enhanced.jlr |
JBoss, Home of Professional Open Source
Copyright 2015, Red Hat, Inc.
|
| org.jboss.weld.bean |
JBoss, Home of Professional Open Source
Copyright 2015, Red Hat, Inc.
|
| org.jboss.weld.bootstrap |
JBoss, Home of Professional Open Source
Copyright 2015, Red Hat, Inc.
|
| org.jboss.weld.event |
JBoss, Home of Professional Open Source
Copyright 2015, Red Hat, Inc.
|
| org.jboss.weld.injection |
JBoss, Home of Professional Open Source
Copyright 2015, Red Hat, Inc.
|
| org.jboss.weld.injection.producer |
JBoss, Home of Professional Open Source
Copyright 2015, Red Hat, Inc.
|
| org.jboss.weld.util |
JBoss, Home of Professional Open Source
Copyright 2015, Red Hat, Inc.
|
| org.jboss.weld.util.annotated |
JBoss, Home of Professional Open Source
Copyright 2015, Red Hat, Inc.
|
| Modifier and Type | Method and Description |
|---|---|
EnhancedAnnotatedMethod<?,?> |
EnhancedAnnotatedType.getDeclaredEnhancedMethod(java.lang.reflect.Method method)
Deprecated.
|
<M> EnhancedAnnotatedMethod<M,?> |
EnhancedAnnotatedType.getDeclaredEnhancedMethod(MethodSignature signature)
Get a method by name
|
EnhancedAnnotatedMethod<?,?> |
EnhancedAnnotatedType.getEnhancedMethod(java.lang.reflect.Method method)
Deprecated.
|
<M> EnhancedAnnotatedMethod<M,?> |
EnhancedAnnotatedType.getEnhancedMethod(MethodSignature signature)
Get a method by name
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedType.getDeclaredEnhancedMethods()
Gets all methods on the type
|
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedType.getDeclaredEnhancedMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all methods annotated with annotationType
|
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedType.getDeclaredEnhancedMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets declared with parameters annotated with annotationType
|
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedType.getEnhancedMethods()
Gets all methods on the type including those declared on a superclass of
EnhancedAnnotated.getJavaClass(). |
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedType.getEnhancedMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all methods annotated with annotationType including those declared on a superclass of
EnhancedAnnotated.getJavaClass(). |
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedType.getEnhancedMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all methods with parameters annotated with annotationType including those declared on a superclass of
EnhancedAnnotated.getJavaClass(). |
java.util.Set<EnhancedAnnotatedMethod<?,?>> |
EnhancedAnnotation.getMembers()
Gets all members
|
java.util.Set<EnhancedAnnotatedMethod<?,?>> |
EnhancedAnnotation.getMembers(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all the members annotated with annotationType
|
| Modifier and Type | Class and Description |
|---|---|
class |
EnhancedAnnotatedMethodImpl<T,X>
Represents an annotated method
This class is immutable and therefore threadsafe
|
| Modifier and Type | Method and Description |
|---|---|
EnhancedAnnotatedMethod<?,?> |
EnhancedAnnotatedTypeImpl.getDeclaredEnhancedMethod(java.lang.reflect.Method method) |
<M> EnhancedAnnotatedMethod<M,?> |
EnhancedAnnotatedTypeImpl.getDeclaredEnhancedMethod(MethodSignature signature) |
EnhancedAnnotatedMethod<?,?> |
EnhancedAnnotatedTypeImpl.getEnhancedMethod(java.lang.reflect.Method methodDescriptor) |
<M> EnhancedAnnotatedMethod<M,?> |
EnhancedAnnotatedTypeImpl.getEnhancedMethod(MethodSignature signature) |
| Modifier and Type | Method and Description |
|---|---|
protected Multimap<java.lang.Class<? extends java.lang.annotation.Annotation>,EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.buildAnnotatedMethodMultimap(java.util.Set<EnhancedAnnotatedMethod<?,? super T>> effectiveMethods) |
protected Multimap<java.lang.Class<? extends java.lang.annotation.Annotation>,EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.buildAnnotatedParameterMethodMultimap(java.util.Set<EnhancedAnnotatedMethod<?,? super T>> effectiveMethods) |
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getDeclaredEnhancedMethods() |
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getDeclaredEnhancedMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getDeclaredEnhancedMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getEnhancedMethods() |
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getEnhancedMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets the abstracted methods that have a certain annotation type present
If the annotated methods map is null, initialize it first
|
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getEnhancedMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
java.util.Set<EnhancedAnnotatedMethod<?,?>> |
EnhancedAnnotationImpl.getMembers()
Gets all members of the annotation
Initializes the members first if they are null
|
java.util.Set<EnhancedAnnotatedMethod<?,?>> |
EnhancedAnnotationImpl.getMembers(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Returns the annotated members with a given annotation type
If the annotated members are null, they are initialized first.
|
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) |
| Modifier and Type | Method and Description |
|---|---|
protected Multimap<java.lang.Class<? extends java.lang.annotation.Annotation>,EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.buildAnnotatedMethodMultimap(java.util.Set<EnhancedAnnotatedMethod<?,? super T>> effectiveMethods) |
protected Multimap<java.lang.Class<? extends java.lang.annotation.Annotation>,EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.buildAnnotatedParameterMethodMultimap(java.util.Set<EnhancedAnnotatedMethod<?,? super T>> effectiveMethods) |
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) |
| Modifier and Type | Method and Description |
|---|---|
EnhancedAnnotatedMethod<T,? super X> |
ProducerMethod.getEnhancedAnnotated()
Gets the annotated item representing the method
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
BeanIdentifiers.forProducerMethod(EnhancedAnnotatedMethod<?,?> method,
AbstractClassBean<?> declaringBean) |
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 <X,T> DisposalMethod<X,T> |
DisposalMethod.of(BeanManagerImpl manager,
EnhancedAnnotatedMethod<T,? super X> method,
AbstractClassBean<X> declaringBean) |
| Constructor and Description |
|---|
DisposalMethod(BeanManagerImpl beanManager,
EnhancedAnnotatedMethod<T,? super X> enhancedAnnotatedMethod,
AbstractClassBean<X> declaringBean) |
ProducerMethod(BeanIdentifier identifier,
BeanAttributes<T> attributes,
EnhancedAnnotatedMethod<T,? super X> method,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl beanManager,
ServiceRegistry services) |
ProducerMethodIdentifier(EnhancedAnnotatedMethod<?,?> method,
AbstractClassBean<?> declaringBean) |
| Modifier and Type | Method and Description |
|---|---|
protected <T,X> void |
AbstractBeanDeployer.createObserverMethod(AbstractClassBean<X> declaringBean,
EnhancedAnnotatedMethod<T,? super X> method) |
protected <T,X> void |
ExtensionBeanDeployer.createObserverMethod(RIBean<X> declaringBean,
BeanManagerImpl beanManager,
EnhancedAnnotatedMethod<T,? super X> method,
java.util.Set<ObserverInitializationContext<?,?>> observerMethodInitializers) |
protected <X,T> void |
AbstractBeanDeployer.createProducerMethod(AbstractClassBean<X> declaringBean,
EnhancedAnnotatedMethod<T,? super X> annotatedMethod) |
static <T,X> ObserverInitializationContext<T,X> |
ObserverInitializationContext.of(ObserverMethodImpl<T,X> observer,
EnhancedAnnotatedMethod<T,? super X> annotated) |
| Constructor and Description |
|---|
ObserverInitializationContext(ObserverMethodImpl<T,X> observer,
EnhancedAnnotatedMethod<T,? super X> annotated) |
| Modifier and Type | Method and Description |
|---|---|
static <T,X> ObserverMethodImpl<T,X> |
ObserverFactory.create(EnhancedAnnotatedMethod<T,? super X> method,
RIBean<X> declaringBean,
BeanManagerImpl manager)
Creates an observer
|
protected static java.lang.String |
ObserverMethodImpl.createId(EnhancedAnnotatedMethod<?,?> observer,
RIBean<?> declaringBean) |
static TransactionPhase |
ObserverFactory.getTransactionalPhase(EnhancedAnnotatedMethod<?,?> observer)
Tests an observer method to see if it is transactional.
|
void |
ObserverMethodImpl.initialize(EnhancedAnnotatedMethod<T,? super X> annotated)
Completes initialization of the observer and allows derived types to override behavior.
|
protected MethodInjectionPoint<T,? super X> |
ObserverMethodImpl.initMethodInjectionPoint(EnhancedAnnotatedMethod<T,? super X> observer,
RIBean<X> declaringBean,
BeanManagerImpl manager) |
protected MethodInjectionPoint<T,? super X> |
ExtensionObserverMethodImpl.initMethodInjectionPoint(EnhancedAnnotatedMethod<T,? super X> observer,
RIBean<X> declaringBean,
BeanManagerImpl manager) |
protected java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
ExtensionObserverMethodImpl.initRequiredTypeAnnotations(EnhancedAnnotatedMethod<T,? super X> observer) |
| Constructor and Description |
|---|
ExtensionObserverMethodImpl(EnhancedAnnotatedMethod<T,? super X> observer,
RIBean<X> declaringBean,
BeanManagerImpl manager) |
ObserverMethodImpl(EnhancedAnnotatedMethod<T,? super X> observer,
RIBean<X> declaringBean,
BeanManagerImpl manager)
Creates an Observer which describes and encapsulates an observer method (8.5).
|
| Modifier and Type | Method and Description |
|---|---|
<T,X> MethodInjectionPoint<T,X> |
InjectionPointFactory.createMethodInjectionPoint(EnhancedAnnotatedMethod<T,X> enhancedMethod,
Bean<?> declaringBean,
java.lang.Class<?> declaringComponentClass,
java.lang.Class<? extends java.lang.annotation.Annotation> specialParameterMarker,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ProducerMethodProducer.checkProducerMethod(EnhancedAnnotatedMethod<T,? super X> method)
Validates the producer method
|
| Constructor and Description |
|---|
ProducerMethodProducer(EnhancedAnnotatedMethod<T,? super X> enhancedAnnotatedMethod,
DisposalMethod<?,?> disposalMethod) |
| Modifier and Type | Method and Description |
|---|---|
static <T> java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
BeanMethods.filterOutBridgeMethods(java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> methods)
Oracle JDK 8 compiler (unlike prev versions) generates bridge methods which have method and parameter annotations copied from the original method.
|
static <T> java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
BeanMethods.getObserverMethods(EnhancedAnnotatedType<T> type) |
| Modifier and Type | Method and Description |
|---|---|
static <T> java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
BeanMethods.filterOutBridgeMethods(java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> methods)
Oracle JDK 8 compiler (unlike prev versions) generates bridge methods which have method and parameter annotations copied from the original method.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ForwardingWeldMethod<T,X> |
| Modifier and Type | Method and Description |
|---|---|
protected abstract EnhancedAnnotatedMethod<T,X> |
ForwardingWeldMethod.delegate() |
EnhancedAnnotatedMethod<?,?> |
ForwardingWeldClass.getDeclaredEnhancedMethod(java.lang.reflect.Method method)
Deprecated.
|
<M> EnhancedAnnotatedMethod<M,?> |
ForwardingWeldClass.getDeclaredEnhancedMethod(MethodSignature signature) |
<M> EnhancedAnnotatedMethod<M,?> |
ForwardingWeldClass.getDeclaredEnhancedMethod(MethodSignature signature,
EnhancedAnnotatedType<M> expectedReturnType) |
EnhancedAnnotatedMethod<?,?> |
ForwardingWeldClass.getEnhancedMethod(java.lang.reflect.Method method)
Deprecated.
|
<M> EnhancedAnnotatedMethod<M,?> |
ForwardingWeldClass.getEnhancedMethod(MethodSignature signature) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
ForwardingWeldClass.getDeclaredEnhancedMethods() |
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
ForwardingWeldClass.getDeclaredEnhancedMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
ForwardingWeldClass.getDeclaredEnhancedMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
ForwardingWeldClass.getEnhancedMethods() |
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
ForwardingWeldClass.getEnhancedMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
java.util.Collection<EnhancedAnnotatedMethod<?,? super T>> |
ForwardingWeldClass.getEnhancedMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
java.util.Set<EnhancedAnnotatedMethod<?,?>> |
ForwardingWeldAnnotation.getMembers() |
java.util.Set<EnhancedAnnotatedMethod<?,?>> |
ForwardingWeldAnnotation.getMembers(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
Copyright © 2015. All Rights Reserved.