org.jboss.cdi.tck.tests.interceptors.definition.custom
Class CustomInterceptorImplementation

java.lang.Object
  extended by org.jboss.cdi.tck.tests.interceptors.definition.custom.CustomInterceptorImplementation
All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<SimpleInterceptorWithoutAnnotations>, javax.enterprise.inject.spi.Bean<SimpleInterceptorWithoutAnnotations>, javax.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>, javax.enterprise.inject.spi.Interceptor<SimpleInterceptorWithoutAnnotations>

public class CustomInterceptorImplementation
extends Object
implements javax.enterprise.inject.spi.Interceptor<SimpleInterceptorWithoutAnnotations>


Constructor Summary
CustomInterceptorImplementation(javax.enterprise.inject.spi.InterceptionType type)
           
 
Method Summary
 SimpleInterceptorWithoutAnnotations create(javax.enterprise.context.spi.CreationalContext<SimpleInterceptorWithoutAnnotations> creationalContext)
           
 void destroy(SimpleInterceptorWithoutAnnotations instance, javax.enterprise.context.spi.CreationalContext<SimpleInterceptorWithoutAnnotations> creationalContext)
           
 Class<?> getBeanClass()
           
 Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
           
 Set<Annotation> getInterceptorBindings()
           
 String getName()
           
 Set<Annotation> getQualifiers()
           
 Class<? extends Annotation> getScope()
           
 Set<Class<? extends Annotation>> getStereotypes()
           
 Set<Type> getTypes()
           
 Object intercept(javax.enterprise.inject.spi.InterceptionType type, SimpleInterceptorWithoutAnnotations instance, javax.interceptor.InvocationContext ctx)
           
 boolean intercepts(javax.enterprise.inject.spi.InterceptionType type)
           
 boolean isAlternative()
           
 boolean isGetInterceptorBindingsCalled()
           
 boolean isInterceptsCalled()
           
 boolean isNullable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomInterceptorImplementation

public CustomInterceptorImplementation(javax.enterprise.inject.spi.InterceptionType type)
Method Detail

getInjectionPoints

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

getName

public String getName()
Specified by:
getName in interface javax.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>

getQualifiers

public Set<Annotation> getQualifiers()
Specified by:
getQualifiers in interface javax.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>

getScope

public Class<? extends Annotation> getScope()
Specified by:
getScope in interface javax.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>

getStereotypes

public Set<Class<? extends Annotation>> getStereotypes()
Specified by:
getStereotypes in interface javax.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>

getTypes

public Set<Type> getTypes()
Specified by:
getTypes in interface javax.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>

isAlternative

public boolean isAlternative()
Specified by:
isAlternative in interface javax.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>

isNullable

public boolean isNullable()
Specified by:
isNullable in interface javax.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>

intercept

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

intercepts

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

getInterceptorBindings

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

getBeanClass

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

create

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

destroy

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

isGetInterceptorBindingsCalled

public boolean isGetInterceptorBindingsCalled()

isInterceptsCalled

public boolean isInterceptsCalled()


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