org.jboss.weld.bean
Class InterceptorImpl<T>
java.lang.Object
org.jboss.weld.bean.RIBean<T>
org.jboss.weld.bean.AbstractBean<T,java.lang.Class<T>>
org.jboss.weld.bean.AbstractClassBean<T>
org.jboss.weld.bean.ManagedBean<T>
org.jboss.weld.bean.InterceptorImpl<T>
- All Implemented Interfaces:
- javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.Bean<T>, javax.enterprise.inject.spi.Interceptor<T>, javax.enterprise.inject.spi.PassivationCapable
public class InterceptorImpl<T>
- extends ManagedBean<T>
- implements javax.enterprise.inject.spi.Interceptor<T>
- Author:
- Marius Bogoevici
| Methods inherited from class org.jboss.weld.bean.ManagedBean |
applyInterceptors, checkBeanImplementation, checkType, create, createId, createInstance, createSimpleId, destroy, getSpecializedBean, initialize, initializeAfterBeanDiscovery, isInterceptionCandidate, isPassivationCapableBean, isPassivationCapableDependency, preSpecialize, specialize |
| Methods inherited from class org.jboss.weld.bean.AbstractClassBean |
applyDecorators, checkConstructor, flattenInterceptorBindings, getConstructor, getDecorators, getDefaultName, getInitializerMethods, getInjectableFields, getInjectionPoints, getInjectionTarget, getPostConstruct, getPreDestroy, getWeldAnnotated, hasCdiBoundInterceptors, hasDecorators, hasDirectlyDefinedInterceptors, initCdiBoundInterceptors, initConstructor, initDecorators, initDirectlyDefinedInterceptors, initInitializerMethods, initInjectableFields, initPostConstruct, initPreDestroy, initProxyClassForDecoratedBean, initScope, initType, setInjectionTarget |
| Methods inherited from class org.jboss.weld.bean.AbstractBean |
addInjectionPoint, addInjectionPoints, checkDelegateInjectionPoints, getDelegateInjectionPoints, getMergedStereotypes, getName, getNewInjectionPoints, getQualifiers, getScope, getStereotypes, getType, getTypedTypes, getTypes, getWeldInjectionPoints, initAlternative, initDefaultQualifiers, initName, initQualifiers, initScopeFromStereotype, initStereotypes, initTypes, isAlternative, isDependent, isInitialized, isNormalScoped, isNullable, isPrimitive, isProxyable, isSpecializing, postSpecialize |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.enterprise.inject.spi.Bean |
getBeanClass, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable |
| Methods inherited from interface javax.enterprise.context.spi.Contextual |
create, destroy |
InterceptorImpl
protected InterceptorImpl(WeldClass<T> type,
BeanManagerImpl beanManager)
of
public static <T> InterceptorImpl<T> of(WeldClass<T> type,
BeanManagerImpl beanManager)
getInterceptorBindings
public java.util.Set<java.lang.annotation.Annotation> getInterceptorBindings()
- Specified by:
getInterceptorBindings in interface javax.enterprise.inject.spi.Interceptor<T>
intercept
public java.lang.Object intercept(javax.enterprise.inject.spi.InterceptionType type,
T instance,
javax.interceptor.InvocationContext ctx)
- Specified by:
intercept in interface javax.enterprise.inject.spi.Interceptor<T>
intercepts
public boolean intercepts(javax.enterprise.inject.spi.InterceptionType type)
- Specified by:
intercepts in interface javax.enterprise.inject.spi.Interceptor<T>
isSerializable
public boolean isSerializable()
defaultPostConstruct
protected void defaultPostConstruct(T instance)
- Overrides:
defaultPostConstruct in class AbstractClassBean<T>
defaultPreDestroy
protected void defaultPreDestroy(T instance)
- Overrides:
defaultPreDestroy in class AbstractClassBean<T>
Copyright © 2008-2010 Seam Framework. All Rights Reserved.