Class ProducerMethodBeanBuilder<T>
- java.lang.Object
-
- org.apache.webbeans.component.creation.AbstractProducerBeanBuilder<T,jakarta.enterprise.inject.spi.AnnotatedMethod<?>,ProducerMethodBean<T>>
-
- org.apache.webbeans.component.creation.ProducerMethodBeanBuilder<T>
-
public class ProducerMethodBeanBuilder<T> extends AbstractProducerBeanBuilder<T,jakarta.enterprise.inject.spi.AnnotatedMethod<?>,ProducerMethodBean<T>>
-
-
Field Summary
-
Fields inherited from class org.apache.webbeans.component.creation.AbstractProducerBeanBuilder
annotatedMember, beanAttributes, parent
-
-
Constructor Summary
Constructors Constructor Description ProducerMethodBeanBuilder(InjectionTargetBean<T> parent, jakarta.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod, jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <P> ProducerMethodBean<T>createBean(InjectionTargetBean<P> parent, Class<T> beanClass)ProducerMethodBean<T>getBean()voidvalidate()Check if the producer rules are met.-
Methods inherited from class org.apache.webbeans.component.creation.AbstractProducerBeanBuilder
createBean, getSuperType
-
-
-
-
Constructor Detail
-
ProducerMethodBeanBuilder
public ProducerMethodBeanBuilder(InjectionTargetBean<T> parent, jakarta.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod, jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes)
-
-
Method Detail
-
createBean
protected <P> ProducerMethodBean<T> createBean(InjectionTargetBean<P> parent, Class<T> beanClass)
- Specified by:
createBeanin classAbstractProducerBeanBuilder<T,jakarta.enterprise.inject.spi.AnnotatedMethod<?>,ProducerMethodBean<T>>
-
getBean
public ProducerMethodBean<T> getBean()
-
validate
public void validate() throws jakarta.enterprise.inject.spi.DefinitionExceptionDescription copied from class:AbstractProducerBeanBuilderCheck if the producer rules are met.- Overrides:
validatein classAbstractProducerBeanBuilder<T,jakarta.enterprise.inject.spi.AnnotatedMethod<?>,ProducerMethodBean<T>>- Throws:
jakarta.enterprise.inject.spi.DefinitionException
-
-