Class CustomInterceptorImplementation
- java.lang.Object
-
- org.jboss.cdi.tck.tests.full.interceptors.definition.custom.CustomInterceptorImplementation
-
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<SimpleInterceptorWithoutAnnotations>,jakarta.enterprise.inject.spi.Bean<SimpleInterceptorWithoutAnnotations>,jakarta.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>,jakarta.enterprise.inject.spi.Interceptor<SimpleInterceptorWithoutAnnotations>
public class CustomInterceptorImplementation extends Object implements jakarta.enterprise.inject.spi.Interceptor<SimpleInterceptorWithoutAnnotations>
-
-
Constructor Summary
Constructors Constructor Description CustomInterceptorImplementation(jakarta.enterprise.inject.spi.InterceptionType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleInterceptorWithoutAnnotationscreate(jakarta.enterprise.context.spi.CreationalContext<SimpleInterceptorWithoutAnnotations> creationalContext)voiddestroy(SimpleInterceptorWithoutAnnotations instance, jakarta.enterprise.context.spi.CreationalContext<SimpleInterceptorWithoutAnnotations> creationalContext)Class<?>getBeanClass()Set<jakarta.enterprise.inject.spi.InjectionPoint>getInjectionPoints()Set<Annotation>getInterceptorBindings()StringgetName()Set<Annotation>getQualifiers()Class<? extends Annotation>getScope()Set<Class<? extends Annotation>>getStereotypes()Set<Type>getTypes()Objectintercept(jakarta.enterprise.inject.spi.InterceptionType type, SimpleInterceptorWithoutAnnotations instance, jakarta.interceptor.InvocationContext ctx)booleanintercepts(jakarta.enterprise.inject.spi.InterceptionType type)booleanisAlternative()booleanisGetInterceptorBindingsCalled()booleanisInterceptsCalled()booleanisNullable()
-
-
-
Method Detail
-
getInjectionPoints
public Set<jakarta.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
- Specified by:
getInjectionPointsin interfacejakarta.enterprise.inject.spi.Bean<SimpleInterceptorWithoutAnnotations>
-
getName
public String getName()
- Specified by:
getNamein interfacejakarta.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>
-
getQualifiers
public Set<Annotation> getQualifiers()
- Specified by:
getQualifiersin interfacejakarta.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>
-
getScope
public Class<? extends Annotation> getScope()
- Specified by:
getScopein interfacejakarta.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>
-
getStereotypes
public Set<Class<? extends Annotation>> getStereotypes()
- Specified by:
getStereotypesin interfacejakarta.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>
-
getTypes
public Set<Type> getTypes()
- Specified by:
getTypesin interfacejakarta.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>
-
isAlternative
public boolean isAlternative()
- Specified by:
isAlternativein interfacejakarta.enterprise.inject.spi.BeanAttributes<SimpleInterceptorWithoutAnnotations>
-
isNullable
public boolean isNullable()
-
intercept
public Object intercept(jakarta.enterprise.inject.spi.InterceptionType type, SimpleInterceptorWithoutAnnotations instance, jakarta.interceptor.InvocationContext ctx)
- Specified by:
interceptin interfacejakarta.enterprise.inject.spi.Interceptor<SimpleInterceptorWithoutAnnotations>
-
intercepts
public boolean intercepts(jakarta.enterprise.inject.spi.InterceptionType type)
- Specified by:
interceptsin interfacejakarta.enterprise.inject.spi.Interceptor<SimpleInterceptorWithoutAnnotations>
-
getInterceptorBindings
public Set<Annotation> getInterceptorBindings()
- Specified by:
getInterceptorBindingsin interfacejakarta.enterprise.inject.spi.Interceptor<SimpleInterceptorWithoutAnnotations>
-
getBeanClass
public Class<?> getBeanClass()
- Specified by:
getBeanClassin interfacejakarta.enterprise.inject.spi.Bean<SimpleInterceptorWithoutAnnotations>
-
create
public SimpleInterceptorWithoutAnnotations create(jakarta.enterprise.context.spi.CreationalContext<SimpleInterceptorWithoutAnnotations> creationalContext)
- Specified by:
createin interfacejakarta.enterprise.context.spi.Contextual<SimpleInterceptorWithoutAnnotations>
-
destroy
public void destroy(SimpleInterceptorWithoutAnnotations instance, jakarta.enterprise.context.spi.CreationalContext<SimpleInterceptorWithoutAnnotations> creationalContext)
- Specified by:
destroyin interfacejakarta.enterprise.context.spi.Contextual<SimpleInterceptorWithoutAnnotations>
-
isGetInterceptorBindingsCalled
public boolean isGetInterceptorBindingsCalled()
-
isInterceptsCalled
public boolean isInterceptsCalled()
-
-