public class ProducerMethodBeanBuilder<T> extends AbstractProducerBeanBuilder<T,javax.enterprise.inject.spi.AnnotatedMethod<?>,ProducerMethodBean<T>>
annotatedMember, beanAttributes, parent| Constructor and Description |
|---|
ProducerMethodBeanBuilder(InjectionTargetBean<T> parent,
javax.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod,
javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes) |
| Modifier and Type | Method and Description |
|---|---|
protected <P> ProducerMethodBean<T> |
createBean(InjectionTargetBean<P> parent,
Class<T> beanClass) |
ProducerMethodBean<T> |
getBean() |
void |
validate()
Check if the producer rules are met.
|
createBean, getSuperTypepublic ProducerMethodBeanBuilder(InjectionTargetBean<T> parent, javax.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod, javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes)
protected <P> ProducerMethodBean<T> createBean(InjectionTargetBean<P> parent, Class<T> beanClass)
createBean in class AbstractProducerBeanBuilder<T,javax.enterprise.inject.spi.AnnotatedMethod<?>,ProducerMethodBean<T>>public ProducerMethodBean<T> getBean()
public void validate()
throws javax.enterprise.inject.spi.DefinitionException
AbstractProducerBeanBuildervalidate in class AbstractProducerBeanBuilder<T,javax.enterprise.inject.spi.AnnotatedMethod<?>,ProducerMethodBean<T>>javax.enterprise.inject.spi.DefinitionExceptionCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.