org.jboss.cdi.tck.tests.extensions.lifecycle.processBeanAttributes.synthetic.interceptor
Class ExternalInterceptorBean

java.lang.Object
  extended by org.jboss.cdi.tck.util.ForwardingBeanAttributes<ExternalInterceptor>
      extended by org.jboss.cdi.tck.tests.extensions.lifecycle.processBeanAttributes.synthetic.interceptor.ExternalInterceptorBean
All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<ExternalInterceptor>, javax.enterprise.inject.spi.Bean<ExternalInterceptor>, javax.enterprise.inject.spi.BeanAttributes<ExternalInterceptor>, javax.enterprise.inject.spi.Interceptor<ExternalInterceptor>

public class ExternalInterceptorBean
extends ForwardingBeanAttributes<ExternalInterceptor>
implements javax.enterprise.inject.spi.Interceptor<ExternalInterceptor>


Constructor Summary
ExternalInterceptorBean(javax.enterprise.inject.spi.BeanAttributes<ExternalInterceptor> delegate, Annotation binding)
           
 
Method Summary
protected  javax.enterprise.inject.spi.BeanAttributes<ExternalInterceptor> attributes()
           
 ExternalInterceptor create(javax.enterprise.context.spi.CreationalContext<ExternalInterceptor> creationalContext)
           
 void destroy(ExternalInterceptor instance, javax.enterprise.context.spi.CreationalContext<ExternalInterceptor> creationalContext)
           
 Class<?> getBeanClass()
           
 Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
           
 Set<Annotation> getInterceptorBindings()
           
 Object intercept(javax.enterprise.inject.spi.InterceptionType type, ExternalInterceptor instance, javax.interceptor.InvocationContext ctx)
           
 boolean intercepts(javax.enterprise.inject.spi.InterceptionType type)
           
 
Methods inherited from class org.jboss.cdi.tck.util.ForwardingBeanAttributes
equals, getName, getQualifiers, getScope, getStereotypes, getTypes, hashCode, isAlternative, isNullable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable
 

Constructor Detail

ExternalInterceptorBean

public ExternalInterceptorBean(javax.enterprise.inject.spi.BeanAttributes<ExternalInterceptor> delegate,
                               Annotation binding)
Method Detail

getBeanClass

public Class<?> getBeanClass()
Specified by:
getBeanClass in interface javax.enterprise.inject.spi.Bean<ExternalInterceptor>

getInjectionPoints

public Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
Specified by:
getInjectionPoints in interface javax.enterprise.inject.spi.Bean<ExternalInterceptor>

create

public ExternalInterceptor create(javax.enterprise.context.spi.CreationalContext<ExternalInterceptor> creationalContext)
Specified by:
create in interface javax.enterprise.context.spi.Contextual<ExternalInterceptor>

destroy

public void destroy(ExternalInterceptor instance,
                    javax.enterprise.context.spi.CreationalContext<ExternalInterceptor> creationalContext)
Specified by:
destroy in interface javax.enterprise.context.spi.Contextual<ExternalInterceptor>

getInterceptorBindings

public Set<Annotation> getInterceptorBindings()
Specified by:
getInterceptorBindings in interface javax.enterprise.inject.spi.Interceptor<ExternalInterceptor>

intercepts

public boolean intercepts(javax.enterprise.inject.spi.InterceptionType type)
Specified by:
intercepts in interface javax.enterprise.inject.spi.Interceptor<ExternalInterceptor>

intercept

public Object intercept(javax.enterprise.inject.spi.InterceptionType type,
                        ExternalInterceptor instance,
                        javax.interceptor.InvocationContext ctx)
                 throws Exception
Specified by:
intercept in interface javax.enterprise.inject.spi.Interceptor<ExternalInterceptor>
Throws:
Exception

attributes

protected javax.enterprise.inject.spi.BeanAttributes<ExternalInterceptor> attributes()
Specified by:
attributes in class ForwardingBeanAttributes<ExternalInterceptor>


Copyright © 2008-2012 Seam Framework. All Rights Reserved.