T - the class represented by the configured AnnotatedTypepublic interface AnnotatedTypeConfigurator<T>
AnnotatedType instance. The CDI container must provide an implementation of
this interface.
AnnotatedTypeConfigurator is not reusable.
This configurator is not thread safe and shall not be used concurrently.javax.enterprise.inject.spi.BeforeBeanDiscovery#addAnnotatedType(String),
javax.enterprise.inject.spi.AfterTypeDiscovery#addAnnotatedType(String),
ProcessAnnotatedType.configureAnnotatedType()AnnotatedType<T> getAnnotated()
AnnotatedTypeAnnotatedTypeConfigurator<T> add(Annotation annotation)
annotation - to addAnnotatedTypeConfigurator<T> remove(Annotation annotation)
Nonbinding. The container calls the Object.equals(Object) method of the annotation member value
to compare values.annotation - to removeAnnotatedTypeConfigurator<T> remove(Class<? extends Annotation> annotationType)
annotationType - annotation class to removeAnnotatedTypeConfigurator<T> removeAll()
Set<AnnotatedMethodConfigurator<? super T>> methods()
AnnotatedMethodConfigurators reflecting the AnnotatedType.getMethods()default java.util.stream.Stream<AnnotatedMethodConfigurator<? super T>> filterMethods(java.util.function.Predicate<AnnotatedMethod<? super T>> predicate)
predicate - Testing the original AnnotatedMethodAnnotatedMethodConfigurators matching the given predicateAnnotatedMethodConfigurator.getAnnotated()Set<AnnotatedFieldConfigurator<? super T>> fields()
AnnotatedFieldConfigurators reflecting the AnnotatedType.getFields()default java.util.stream.Stream<AnnotatedFieldConfigurator<? super T>> filterFields(java.util.function.Predicate<AnnotatedField<? super T>> predicate)
predicate - Testing the original AnnotatedFieldAnnotatedFieldConfigurators matching the given predicateAnnotatedFieldConfigurator.getAnnotated()Set<AnnotatedConstructorConfigurator<T>> constructors()
AnnotatedConstructorConfigurators reflecting the
AnnotatedType.getConstructors()default java.util.stream.Stream<AnnotatedConstructorConfigurator<T>> filterConstructors(java.util.function.Predicate<AnnotatedConstructor<T>> predicate)
predicate - Testing the original AnnotatedConstructorAnnotatedConstructorConfigurators matching the given predicateAnnotatedConstructorConfigurator.getAnnotated()Copyright © 2008-2016 JBoss by Red Hat, Inc.. All Rights Reserved.