Package org.jboss.weld.bean
Class SyntheticClassBean<T>
- java.lang.Object
-
- org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
-
- org.jboss.weld.bean.CommonBean<T>
-
- org.jboss.weld.bean.AbstractSyntheticBean<T>
-
- org.jboss.weld.bean.SyntheticClassBean<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<T>,javax.enterprise.inject.spi.Bean<T>,javax.enterprise.inject.spi.BeanAttributes<T>
- Direct Known Subclasses:
SyntheticDecorator
public class SyntheticClassBean<T> extends AbstractSyntheticBean<T>
Represents a class bean created based on extension-providedInjectionTargetimplementation.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description SyntheticClassBean(javax.enterprise.inject.spi.BeanAttributes<T> attributes, Class<T> beanClass, javax.enterprise.inject.spi.InjectionTargetFactory<T> factory, BeanManagerImpl manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcreate(javax.enterprise.context.spi.CreationalContext<T> creationalContext)voiddestroy(T instance, javax.enterprise.context.spi.CreationalContext<T> creationalContext)protected javax.enterprise.inject.spi.InjectionTarget<T>getProducer()StringtoString()-
Methods inherited from class org.jboss.weld.bean.AbstractSyntheticBean
getBeanClass, getInjectionPoints
-
Methods inherited from class org.jboss.weld.bean.CommonBean
attributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, unwrap
-
Methods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
-
-
-
Field Detail
-
producer
protected final javax.enterprise.inject.spi.InjectionTarget<T> producer
-
-
Constructor Detail
-
SyntheticClassBean
public SyntheticClassBean(javax.enterprise.inject.spi.BeanAttributes<T> attributes, Class<T> beanClass, javax.enterprise.inject.spi.InjectionTargetFactory<T> factory, BeanManagerImpl manager)
-
-
Method Detail
-
destroy
public void destroy(T instance, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
-
getProducer
protected javax.enterprise.inject.spi.InjectionTarget<T> getProducer()
- Specified by:
getProducerin classAbstractSyntheticBean<T>
-
toString
public String toString()
- Overrides:
toStringin classCommonBean<T>
-
-