public class InterceptorImpl<T> extends ManagedBean<T> implements Interceptor<T>
annotatedItem, constructorForEnhancedSubclass, decoratorProxyFactory, enhancedSubclassalternative, beanManager, name, qualifiers, scope, type, typesBEAN_ID_PREFIX, BEAN_ID_SEPARATOR| Modifier | Constructor and Description |
|---|---|
protected |
InterceptorImpl(WeldClass<T> type,
BeanManagerImpl beanManager,
ServiceRegistry services) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
defaultPostConstruct(T instance) |
protected void |
defaultPreDestroy(T instance) |
Set<Annotation> |
getInterceptorBindings()
Obtains the interceptor bindings
of the interceptor.
|
InterceptorMetadata<?> |
getInterceptorMetadata() |
Object |
intercept(InterceptionType type,
T instance,
javax.interceptor.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(WeldClass<T> type,
BeanManagerImpl beanManager,
ServiceRegistry services) |
String |
toString() |
applyInterceptors, checkBeanImplementation, checkType, create, createId, createInstance, createSimpleId, destroy, getSpecializedBean, hasDefaultProducer, initAfterInterceptorsAndDecoratorsInitialized, initialize, isInterceptionCandidate, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, preSpecialize, specializeapplyDecorators, checkConstructor, createEnhancedSubclass, getConstructor, getDecorators, getDefaultName, getInitializerMethods, getInjectableFields, getInjectionPoints, getInjectionTarget, getPostConstruct, getPreDestroy, getWeldAnnotated, hasDecorators, hasInterceptors, initConstructor, initDecorators, initEnhancedSubclass, initializeAfterBeanDiscovery, initInitializerMethods, initInjectableFields, initInterceptorsIfNeeded, initPostConstruct, initPreDestroy, initScope, initType, isSubclassed, setInjectionTargetaddInjectionPoint, addInjectionPoints, checkDelegateInjectionPoints, cleanupAfterBoot, getDelegateInjectionPoints, getMergedStereotypes, getName, getNewInjectionPoints, getQualifiers, getScope, getServices, getStereotypes, getType, getTypedTypes, getTypes, getWeldInjectionPoints, initAlternative, initDefaultQualifiers, initName, initQualifiers, initScopeFromStereotype, initStereotypes, initTypes, isAlternative, isDependent, isInitialized, isNullable, isPrimitive, isProxyRequired, isSpecializing, postSpecializeequals, getBeanClass, getBeanManager, getId, getQualifierInstances, hashCode, isNormalScopedclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBeanClass, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullablecreate, destroyprotected InterceptorImpl(WeldClass<T> type, BeanManagerImpl beanManager, ServiceRegistry services)
public static <T> InterceptorImpl<T> of(WeldClass<T> type, BeanManagerImpl beanManager, ServiceRegistry services)
public Set<Annotation> getInterceptorBindings()
InterceptorObtains the interceptor bindings of the interceptor.
getInterceptorBindings in interface Interceptor<T>public InterceptorMetadata<?> getInterceptorMetadata()
public Object intercept(InterceptionType type, T instance, javax.interceptor.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()
protected void defaultPostConstruct(T instance)
defaultPostConstruct in class AbstractClassBean<T>protected void defaultPreDestroy(T instance)
defaultPreDestroy in class AbstractClassBean<T>public String toString()
toString in class ManagedBean<T>Copyright © 2013 Seam Framework. All Rights Reserved.