T
- public class InterceptorApplyingInstantiator<T> extends ForwardingInstantiator<T>
SubclassedComponentInstantiator
that registers interceptors within the method handler. This class is
thread-safe.Constructor and Description |
---|
InterceptorApplyingInstantiator(Instantiator<T> delegate,
InterceptionModel model,
SlimAnnotatedType<T> type) |
Modifier and Type | Method and Description |
---|---|
protected T |
applyInterceptors(T instance,
InterceptionContext interceptionContext) |
boolean |
hasInterceptorSupport()
Indicates whether instances created by this Instantiator support interception.
|
T |
newInstance(CreationalContext<T> ctx,
BeanManagerImpl manager) |
String |
toString() |
delegate, getConstructor, hasDecoratorSupport
public InterceptorApplyingInstantiator(Instantiator<T> delegate, InterceptionModel model, SlimAnnotatedType<T> type)
public T newInstance(CreationalContext<T> ctx, BeanManagerImpl manager)
newInstance
in interface Instantiator<T>
newInstance
in class ForwardingInstantiator<T>
protected T applyInterceptors(T instance, InterceptionContext interceptionContext)
public boolean hasInterceptorSupport()
Instantiator
hasInterceptorSupport
in interface Instantiator<T>
hasInterceptorSupport
in class ForwardingInstantiator<T>
Copyright © 2014. All Rights Reserved.