Modifier and Type | Method and Description |
---|---|
EnhancedAnnotatedMethod<?,?> |
EnhancedAnnotatedType.getDeclaredEnhancedMethod(Method method)
Deprecated.
|
<M> EnhancedAnnotatedMethod<M,?> |
EnhancedAnnotatedType.getDeclaredEnhancedMethod(MethodSignature signature)
Get a method by name
|
EnhancedAnnotatedMethod<?,?> |
EnhancedAnnotatedType.getEnhancedMethod(Method method)
Deprecated.
|
<M> EnhancedAnnotatedMethod<M,?> |
EnhancedAnnotatedType.getEnhancedMethod(MethodSignature signature)
Get a method by name
|
Modifier and Type | Method and Description |
---|---|
Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedType.getDeclaredEnhancedMethods()
Gets all methods on the type
|
Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedType.getDeclaredEnhancedMethods(Class<? extends Annotation> annotationType)
Gets all methods annotated with annotationType
|
Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedType.getDeclaredEnhancedMethodsWithAnnotatedParameters(Class<? extends Annotation> annotationType)
Gets declared with parameters annotated with annotationType
|
Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedType.getEnhancedMethods()
Gets all methods on the type including those declared on a superclass of
EnhancedAnnotated.getJavaClass() . |
Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedType.getEnhancedMethods(Class<? extends Annotation> annotationType)
Gets all methods annotated with annotationType including those declared on a superclass of
EnhancedAnnotated.getJavaClass() . |
Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedType.getEnhancedMethodsWithAnnotatedParameters(Class<? extends Annotation> annotationType)
Gets all methods with parameters annotated with annotationType including those declared on a superclass of
EnhancedAnnotated.getJavaClass() . |
Set<EnhancedAnnotatedMethod<?,?>> |
EnhancedAnnotation.getMembers()
Gets all members
|
Set<EnhancedAnnotatedMethod<?,?>> |
EnhancedAnnotation.getMembers(Class<? extends 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(Method method) |
<M> EnhancedAnnotatedMethod<M,?> |
EnhancedAnnotatedTypeImpl.getDeclaredEnhancedMethod(MethodSignature signature) |
EnhancedAnnotatedMethod<?,?> |
EnhancedAnnotatedTypeImpl.getEnhancedMethod(Method methodDescriptor) |
<M> EnhancedAnnotatedMethod<M,?> |
EnhancedAnnotatedTypeImpl.getEnhancedMethod(MethodSignature signature) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.collect.Multimap<Class<? extends Annotation>,EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.buildAnnotatedMethodMultimap(Set<EnhancedAnnotatedMethod<?,? super T>> effectiveMethods) |
protected com.google.common.collect.Multimap<Class<? extends Annotation>,EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.buildAnnotatedParameterMethodMultimap(Set<EnhancedAnnotatedMethod<?,? super T>> effectiveMethods) |
Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getDeclaredEnhancedMethods() |
Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getDeclaredEnhancedMethods(Class<? extends Annotation> annotationType) |
Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getDeclaredEnhancedMethodsWithAnnotatedParameters(Class<? extends Annotation> annotationType) |
Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getEnhancedMethods() |
Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getEnhancedMethods(Class<? extends Annotation> annotationType)
Gets the abstracted methods that have a certain annotation type present
If the annotated methods map is null, initialize it first
|
Collection<EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.getEnhancedMethodsWithAnnotatedParameters(Class<? extends Annotation> annotationType) |
Set<EnhancedAnnotatedMethod<?,?>> |
EnhancedAnnotationImpl.getMembers()
Gets all members of the annotation
Initializes the members first if they are null
|
Set<EnhancedAnnotatedMethod<?,?>> |
EnhancedAnnotationImpl.getMembers(Class<? extends Annotation> annotationType)
Returns the annotated members with a given annotation type
If the annotated members are null, they are initialized first.
|
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) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.collect.Multimap<Class<? extends Annotation>,EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.buildAnnotatedMethodMultimap(Set<EnhancedAnnotatedMethod<?,? super T>> effectiveMethods) |
protected com.google.common.collect.Multimap<Class<? extends Annotation>,EnhancedAnnotatedMethod<?,? super T>> |
EnhancedAnnotatedTypeImpl.buildAnnotatedParameterMethodMultimap(Set<EnhancedAnnotatedMethod<?,? super T>> effectiveMethods) |
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) |
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 String |
BeanIdentifiers.forProducerMethod(EnhancedAnnotatedMethod<?,?> method,
AbstractClassBean<?> declaringBean) |
static <X,T> ProducerMethod<X,T> |
ProducerMethod.of(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedMethod<T,? super X> method,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.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(org.jboss.weld.serialization.spi.BeanIdentifier identifier,
javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedMethod<T,? super X> method,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.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,
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 String |
ObserverMethodImpl.createId(EnhancedAnnotatedMethod<?,?> observer,
RIBean<?> declaringBean) |
static javax.enterprise.event.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> |
ExtensionObserverMethodImpl.initMethodInjectionPoint(EnhancedAnnotatedMethod<T,? super X> observer,
RIBean<X> declaringBean,
BeanManagerImpl manager) |
protected MethodInjectionPoint<T,? super X> |
ObserverMethodImpl.initMethodInjectionPoint(EnhancedAnnotatedMethod<T,? super X> observer,
RIBean<X> declaringBean,
BeanManagerImpl manager) |
protected Set<Class<? extends 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,
javax.enterprise.inject.spi.Bean<?> declaringBean,
Class<?> declaringComponentClass,
boolean observerOrDisposer,
BeanManagerImpl manager) |
Constructor and Description |
---|
MethodInjectionPoint(EnhancedAnnotatedMethod<T,X> enhancedMethod,
javax.enterprise.inject.spi.Bean<?> declaringBean,
Class<?> declaringComponentClass,
boolean observerOrDisposer,
InjectionPointFactory factory,
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> Collection<EnhancedAnnotatedMethod<?,? super T>> |
BeanMethods.filterOutBridgeMethods(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> Collection<EnhancedAnnotatedMethod<?,? super T>> |
BeanMethods.getObserverMethods(EnhancedAnnotatedType<T> type) |
Modifier and Type | Method and Description |
---|---|
static <T> Collection<EnhancedAnnotatedMethod<?,? super T>> |
BeanMethods.filterOutBridgeMethods(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(Method method)
Deprecated.
|
<M> EnhancedAnnotatedMethod<M,?> |
ForwardingWeldClass.getDeclaredEnhancedMethod(MethodSignature signature) |
<M> EnhancedAnnotatedMethod<M,?> |
ForwardingWeldClass.getDeclaredEnhancedMethod(MethodSignature signature,
EnhancedAnnotatedType<M> expectedReturnType) |
EnhancedAnnotatedMethod<?,?> |
ForwardingWeldClass.getEnhancedMethod(Method method)
Deprecated.
|
<M> EnhancedAnnotatedMethod<M,?> |
ForwardingWeldClass.getEnhancedMethod(MethodSignature signature) |
Copyright © 2016. All rights reserved.