org.jboss.weld.bean
Class InterceptorImpl<T>
java.lang.Object
org.jboss.weld.bean.RIBean<T>
org.jboss.weld.bean.AbstractBean<T,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, Marko Luksa
Methods inherited from class org.jboss.weld.bean.ManagedBean |
applyInterceptors, checkBeanImplementation, checkType, create, createId, createInstance, createSimpleId, destroy, getSpecializedBean, hasDefaultProducer, initialize, initializeAfterBeanDiscovery, isInterceptionCandidate, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, preSpecialize, specialize |
Methods inherited from class org.jboss.weld.bean.AbstractClassBean |
applyDecorators, checkConstructor, createEnhancedSubclass, getConstructor, getDecorators, getDefaultName, getInitializerMethods, getInjectableFields, getInjectionPoints, getInjectionTarget, getPostConstruct, getPreDestroy, getWeldAnnotated, hasDecorators, hasInterceptors, initConstructor, initDecorators, initEnhancedSubclass, initInitializerMethods, initInjectableFields, initInterceptorsIfNeeded, initPostConstruct, initPreDestroy, initScope, initType, isSubclassed, setInjectionTarget |
Methods inherited from class org.jboss.weld.bean.AbstractBean |
addInjectionPoint, 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, isNormalScoped, isNullable, isPrimitive, isProxyRequired, isSpecializing, postSpecialize |
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,
org.jboss.weld.bootstrap.api.ServiceRegistry services)
of
public static <T> InterceptorImpl<T> of(WeldClass<T> type,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.ServiceRegistry services)
getInterceptorBindings
public Set<Annotation> getInterceptorBindings()
- Specified by:
getInterceptorBindings
in interface javax.enterprise.inject.spi.Interceptor<T>
getInterceptorMetadata
public InterceptorMetadata<?> getInterceptorMetadata()
intercept
public 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>
toString
public String toString()
- Overrides:
toString
in class ManagedBean<T>
Copyright © 2013 Seam Framework. All Rights Reserved.