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:
jakarta.enterprise.context.spi.Contextual<T>
,jakarta.enterprise.inject.spi.Bean<T>
,jakarta.enterprise.inject.spi.BeanAttributes<T>
,WeldBean<T>
- Direct Known Subclasses:
SyntheticDecorator
public class SyntheticClassBean<T> extends AbstractSyntheticBean<T>
Represents a class bean created based on extension-providedInjectionTarget
implementation.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description SyntheticClassBean(jakarta.enterprise.inject.spi.BeanAttributes<T> attributes, Class<T> beanClass, jakarta.enterprise.inject.spi.InjectionTargetFactory<T> factory, BeanManagerImpl manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
create(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
void
destroy(T instance, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
protected jakarta.enterprise.inject.spi.InjectionTarget<T>
getProducer()
String
toString()
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
Methods inherited from interface org.jboss.weld.bean.WeldBean
getPriority
-
-
-
-
Field Detail
-
producer
protected final jakarta.enterprise.inject.spi.InjectionTarget<T> producer
-
-
Constructor Detail
-
SyntheticClassBean
public SyntheticClassBean(jakarta.enterprise.inject.spi.BeanAttributes<T> attributes, Class<T> beanClass, jakarta.enterprise.inject.spi.InjectionTargetFactory<T> factory, BeanManagerImpl manager)
-
-
Method Detail
-
destroy
public void destroy(T instance, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
-
getProducer
protected jakarta.enterprise.inject.spi.InjectionTarget<T> getProducer()
- Specified by:
getProducer
in classAbstractSyntheticBean<T>
-
toString
public String toString()
- Overrides:
toString
in classCommonBean<T>
-
-