T
- public class SubclassedComponentInstantiator<T> extends AbstractInstantiator<T>
Modifier | Constructor and Description |
---|---|
protected |
SubclassedComponentInstantiator(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
ConstructorInjectionPoint<T> originalConstructor,
BeanManagerImpl manager) |
Modifier and Type | Method and Description |
---|---|
protected Class<T> |
createEnhancedSubclass(javax.enterprise.inject.spi.AnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<?> bean,
BeanManagerImpl manager) |
static <T> SubclassedComponentInstantiator<T> |
forInterceptedDecoratedBean(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
AbstractInstantiator<T> delegate,
BeanManagerImpl manager) |
static <T> SubclassedComponentInstantiator<T> |
forSubclassedEjb(EnhancedAnnotatedType<T> componentType,
EnhancedAnnotatedType<T> subclass,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl manager) |
Constructor<T> |
getConstructor()
Returns the constructor used for instantiation.
|
ConstructorInjectionPoint<T> |
getConstructorInjectionPoint()
Note that this method return a
ConstructorInjectionPoint that represents the constructor of an enhanced subclass. |
boolean |
hasDecoratorSupport()
Indicates whether instances created by this Instantiator support decorators.
|
boolean |
hasInterceptorSupport()
Indicates whether instances created by this Instantiator support interception.
|
protected EnhancedAnnotatedConstructor<T> |
initEnhancedSubclass(BeanManagerImpl manager,
EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<?> bean,
ConstructorInjectionPoint<T> originalConstructorInjectionPoint) |
String |
toString() |
newInstance
protected SubclassedComponentInstantiator(EnhancedAnnotatedType<T> type, javax.enterprise.inject.spi.Bean<T> bean, ConstructorInjectionPoint<T> originalConstructor, BeanManagerImpl manager)
public static <T> SubclassedComponentInstantiator<T> forSubclassedEjb(EnhancedAnnotatedType<T> componentType, EnhancedAnnotatedType<T> subclass, javax.enterprise.inject.spi.Bean<T> bean, BeanManagerImpl manager)
public static <T> SubclassedComponentInstantiator<T> forInterceptedDecoratedBean(EnhancedAnnotatedType<T> type, javax.enterprise.inject.spi.Bean<T> bean, AbstractInstantiator<T> delegate, BeanManagerImpl manager)
protected EnhancedAnnotatedConstructor<T> initEnhancedSubclass(BeanManagerImpl manager, EnhancedAnnotatedType<T> type, javax.enterprise.inject.spi.Bean<?> bean, ConstructorInjectionPoint<T> originalConstructorInjectionPoint)
protected Class<T> createEnhancedSubclass(javax.enterprise.inject.spi.AnnotatedType<T> type, javax.enterprise.inject.spi.Bean<?> bean, BeanManagerImpl manager)
public boolean hasInterceptorSupport()
Instantiator
public boolean hasDecoratorSupport()
Instantiator
public ConstructorInjectionPoint<T> getConstructorInjectionPoint()
ConstructorInjectionPoint
that represents the constructor of an enhanced subclass.
Use getConstructor()
to get the matching component class constructor.getConstructorInjectionPoint
in class AbstractInstantiator<T>
public Constructor<T> getConstructor()
Instantiator
Copyright © 2016. All rights reserved.