public class InterceptorImpl<T> extends ManagedBean<T> implements Interceptor<T>
annotatedType, enhancedAnnotatedItemtypebeanManager| Modifier | Constructor and Description |
|---|---|
protected |
InterceptorImpl(BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> type,
BeanManagerImpl beanManager) |
| Modifier and Type | Method and Description |
|---|---|
Set<Annotation> |
getInterceptorBindings()
Obtains the interceptor bindings of the interceptor.
|
InterceptorClassMetadata<T> |
getInterceptorMetadata() |
void |
initializeAfterBeanDiscovery()
In particular cases, the deployer must perform some initialization operations
only after all beans have been deployed (e.g.
|
Object |
intercept(InterceptionType type,
T instance,
InvocationContext ctx)
Invokes the specified kind of lifecycle callback or method invocation interception upon the
given interceptor instance.
|
boolean |
intercepts(InterceptionType type)
Determines if the interceptor intercepts the specified kind of lifecycle callback or method
invocation.
|
boolean |
isSerializable() |
static <T> InterceptorImpl<T> |
of(BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> type,
BeanManagerImpl beanManager) |
String |
toString() |
checkBeanImplementation, checkType, create, destroy, internalInitialize, isInterceptionCandidate, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, setProducer, specializecleanupAfterBoot, getAnnotated, getDecorators, getEnhancedAnnotated, getInjectionPoints, getInjectionTarget, getInterceptors, getProducer, hasDecorators, hasInterceptors, initType, preSpecialize, setInjectionTarget, setProducercheckSpecialization, getSpecializedBeans, getType, isDependent, isProxyRequired, isSpecializing, postSpecialize, preInitializegetBeanClass, getBeanManager, getQualifierInstances, initialize, isNormalScopedattributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, unwrapgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBeanClass, getInjectionPoints, isNullablecreate, destroygetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativegetIdprotected InterceptorImpl(BeanAttributes<T> attributes, EnhancedAnnotatedType<T> type, BeanManagerImpl beanManager)
public static <T> InterceptorImpl<T> of(BeanAttributes<T> attributes, EnhancedAnnotatedType<T> type, BeanManagerImpl beanManager)
public Set<Annotation> getInterceptorBindings()
InterceptorObtains the interceptor bindings of the interceptor.
getInterceptorBindings in interface Interceptor<T>public InterceptorClassMetadata<T> getInterceptorMetadata()
public Object intercept(InterceptionType type, T instance, InvocationContext ctx)
InterceptorInvokes the specified kind of lifecycle callback or method invocation interception upon the given interceptor instance.
intercept in interface Interceptor<T>type - the kind of interceptioninstance - the interceptor instance to invokectx - the context for the invocationpublic boolean intercepts(InterceptionType type)
InterceptorDetermines if the interceptor intercepts the specified kind of lifecycle callback or method invocation.
intercepts in interface Interceptor<T>type - the kind of interceptionpublic boolean isSerializable()
public void initializeAfterBeanDiscovery()
RIBeaninitializeAfterBeanDiscovery in class ManagedBean<T>public String toString()
toString in class ManagedBean<T>Copyright © 2015. All Rights Reserved.