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) |
|
SubclassedComponentInstantiator(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
DefaultInstantiator<T> delegate,
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) |
Constructor<T> |
getConstructor()
Returns the constructor used for instantiation.
|
protected 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
public SubclassedComponentInstantiator(EnhancedAnnotatedType<T> type, javax.enterprise.inject.spi.Bean<T> bean, DefaultInstantiator<T> delegate, BeanManagerImpl manager)
protected SubclassedComponentInstantiator(EnhancedAnnotatedType<T> type, javax.enterprise.inject.spi.Bean<T> bean, ConstructorInjectionPoint<T> originalConstructor, 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)
public boolean hasInterceptorSupport()
Instantiator
public boolean hasDecoratorSupport()
Instantiator
protected 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 © 2013 Seam Framework. All Rights Reserved.