public abstract class AbstractBeanBuilder<T> extends Object
| Constructor and Description |
|---|
AbstractBeanBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
validateNoDisposerWithoutProducer(Set<AnnotatedMethod<? super T>> annotatedMethods,
Set<ProducerMethodBean<?>> producerBeans,
Set<ProducerFieldBean<?>> producerFields,
Collection<AnnotatedMethod<?>> ignoredProducers)
Make sure there is no disposer method without a corresponding producer method.
|
protected void |
validateNoProducerOrObserverMethod(AnnotatedType<T> annotatedType)
Certain beans like CDI Interceptors and Decorators
are not allowed to define producer methods.
|
protected void validateNoDisposerWithoutProducer(Set<AnnotatedMethod<? super T>> annotatedMethods, Set<ProducerMethodBean<?>> producerBeans, Set<ProducerFieldBean<?>> producerFields, Collection<AnnotatedMethod<?>> ignoredProducers)
annotatedMethods - of the given bean classproducerBeans - or an empty Setprotected void validateNoProducerOrObserverMethod(AnnotatedType<T> annotatedType)
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.