T - public class InterceptorApplyingInstantiator<T> extends Object implements Instantiator<T>
SubclassedComponentInstantiator that registers interceptors within the method handler. This class is
thread-safe.| Constructor and Description |
|---|
InterceptorApplyingInstantiator(EnhancedAnnotatedType<T> type,
Instantiator<T> delegate,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
applyInterceptors(T instance,
CreationalContext<T> creationalContext,
BeanManagerImpl manager) |
boolean |
hasDecoratorSupport()
Indicates whether instances created by this Instantiator support decorators.
|
boolean |
hasInterceptorSupport()
Indicates whether instances created by this Instantiator support interception.
|
T |
newInstance(CreationalContext<T> ctx,
BeanManagerImpl manager) |
String |
toString() |
public InterceptorApplyingInstantiator(EnhancedAnnotatedType<T> type, Instantiator<T> delegate, BeanManagerImpl manager)
public T newInstance(CreationalContext<T> ctx, BeanManagerImpl manager)
newInstance in interface Instantiator<T>protected T applyInterceptors(T instance, CreationalContext<T> creationalContext, BeanManagerImpl manager)
public boolean hasInterceptorSupport()
InstantiatorhasInterceptorSupport in interface Instantiator<T>public boolean hasDecoratorSupport()
InstantiatorhasDecoratorSupport in interface Instantiator<T>Copyright © 2012 Seam Framework. All Rights Reserved.