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, attachCorrectInjectionPoint, checkBeanImplementation, checkConstructor, checkType, create, destroy, getConstructor, getDescription, getDescription, getSpecializedBean, initConstructor, initDeclaredInterceptors, initialize, isInterceptionCandidate, preSpecialize, specialize |
| Methods inherited from class org.jboss.weld.bean.AbstractClassBean |
applyDecorators, flattenInterceptorBindings, getAnnotatedItem, getDecorators, getDefaultName, getInitializerMethods, getInjectableFields, getInjectionPoints, getInjectionTarget, getPostConstruct, getPreDestroy, getSuperclasses, hasDecorators, initDecorators, initInitializerMethods, initInjectableFields, initInterceptors, initPostConstruct, initPreDestroy, initProxyClassForDecoratedBean, initScopeType, initType, setInjectionTarget |
| Methods inherited from class org.jboss.weld.bean.AbstractBean |
addInjectionPoint, addInjectionPoints, checkDelegateInjectionPoints, getAnnotatedInjectionPoints, getDelegateInjectionPoints, getMergedStereotypes, getName, getQualifiers, getScope, getStereotypes, getType, getTypes, initBindings, initDefaultBindings, initName, initPolicy, initPrimitive, initProxyable, initScopeTypeFromStereotype, initSerializable, initStereotypes, initTypes, isAlternative, isDependent, isInitialized, isNormalScoped, isNullable, isPrimitive, isProxyable, isSerializable, 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 manager)
of
public static <T> InterceptorImpl<T> of(WeldClass<T> type,
BeanManagerImpl manager)
getInterceptorBindingTypes
public java.util.Set<java.lang.annotation.Annotation> getInterceptorBindingTypes()
- Specified by:
getInterceptorBindingTypes 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>
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-2009 Seam Framework. All Rights Reserved.