public abstract class AbstractProducerBeanBuilder<T,A extends javax.enterprise.inject.spi.AnnotatedMember<?>,P extends AbstractProducerBean<T>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected A |
annotatedMember |
protected javax.enterprise.inject.spi.BeanAttributes<T> |
beanAttributes |
protected InjectionTargetBean<?> |
parent |
| Constructor and Description |
|---|
AbstractProducerBeanBuilder(InjectionTargetBean<?> parent,
A annotated,
javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes) |
| Modifier and Type | Method and Description |
|---|---|
protected P |
createBean(Class<T> beanClass) |
protected abstract <X> P |
createBean(InjectionTargetBean<X> parent,
Class<T> beanClass) |
protected javax.enterprise.inject.spi.AnnotatedType<?> |
getSuperType() |
void |
validate()
Check if the producer rules are met.
|
protected final InjectionTargetBean<?> parent
protected final A extends javax.enterprise.inject.spi.AnnotatedMember<?> annotatedMember
protected final javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes
public AbstractProducerBeanBuilder(InjectionTargetBean<?> parent, A annotated, javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes)
protected javax.enterprise.inject.spi.AnnotatedType<?> getSuperType()
public void validate()
throws javax.enterprise.inject.spi.DefinitionException
javax.enterprise.inject.spi.DefinitionExceptionprotected abstract <X> P createBean(InjectionTargetBean<X> parent, Class<T> beanClass)
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.