T - the type of the Beanpublic class WrappingBeanBuilder<T> extends BeanBuilder<T>
A WrappingBeanBuilder helps creating Beans which internally just wrap another existing Bean. The Types, Qualifiers and other attributes of the resulting Bean can be modified.
The Contextual.create(javax.enterprise.context.spi.CreationalContext)
 and Contextual.destroy(Object, javax.enterprise.context.spi.CreationalContext)
 methods will get delegated to the underlying wrapped Bean.
alternative, beanClass, beanLifecycle, beanManager, id, injectionPoints, name, nullable, passivationCapable, qualifiers, scope, stereotypes, toString, types| Constructor and Description | 
|---|
WrappingBeanBuilder(javax.enterprise.inject.spi.Bean<Object> delegate,
                   javax.enterprise.inject.spi.BeanManager beanManager)
Instantiate a new  
WrappingBeanBuilder. | 
| Modifier and Type | Method and Description | 
|---|---|
javax.enterprise.inject.spi.Bean<T> | 
create()
 Use the bean builder's current state to define the bean. 
 | 
protected void | 
setDefaultBeanLifecycle(javax.enterprise.inject.spi.AnnotatedType<T> type)
Set the ContextualLifecycle and the InjectionPoints for the AnnotatedType 
 | 
addQualifier, addQualifiers, addQualifiers, addType, addTypes, addTypes, alternative, beanClass, beanLifecycle, getBeanClass, getBeanLifecycle, getBeanManager, getId, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getToString, getTypes, id, injectionPoints, isAlternative, isNullable, isPassivationCapable, name, nullable, passivationCapable, qualifiers, qualifiers, readFromType, scope, stereotypes, toString, types, typespublic WrappingBeanBuilder(javax.enterprise.inject.spi.Bean<Object> delegate, javax.enterprise.inject.spi.BeanManager beanManager)
WrappingBeanBuilder.delegate - the delegate beanbeanManager - current bean-managerprotected void setDefaultBeanLifecycle(javax.enterprise.inject.spi.AnnotatedType<T> type)
BeanBuildersetDefaultBeanLifecycle in class BeanBuilder<T>public javax.enterprise.inject.spi.Bean<T> create()
Use the bean builder's current state to define the bean.
create in class BeanBuilder<T>Copyright © 2017 The Apache Software Foundation. All rights reserved.