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.BeforeBeanDiscovery.addAnnotatedType(Class, String),
AfterTypeDiscovery.addAnnotatedType(Class, 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 Stream<AnnotatedMethodConfigurator<? super T>> filterMethods(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 Stream<AnnotatedFieldConfigurator<? super T>> filterFields(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 Stream<AnnotatedConstructorConfigurator<T>> filterConstructors(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.