org.jboss.cdi.tck.tests.extensions.interceptors.custom
Class CustomInterceptor
java.lang.Object
org.jboss.cdi.tck.tests.extensions.interceptors.custom.AbstractInterceptor<FooInterceptor>
org.jboss.cdi.tck.tests.extensions.interceptors.custom.CustomInterceptor
- All Implemented Interfaces:
- javax.enterprise.context.spi.Contextual<FooInterceptor>, javax.enterprise.inject.spi.Bean<FooInterceptor>, javax.enterprise.inject.spi.BeanAttributes<FooInterceptor>, javax.enterprise.inject.spi.Interceptor<FooInterceptor>, javax.enterprise.inject.spi.PassivationCapable
public class CustomInterceptor
- extends AbstractInterceptor<FooInterceptor>
- implements javax.enterprise.inject.spi.PassivationCapable
Extension-provided implementation of Interceptor. Delegates to FooInterceptor (which in real world could represent a
legacy-style interceptor - e.g. Seam 2 interceptor)
- Author:
- Jozef Hartinger
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomInterceptor
public CustomInterceptor()
getInterceptorBindings
public Set<Annotation> getInterceptorBindings()
- Specified by:
getInterceptorBindings in interface javax.enterprise.inject.spi.Interceptor<FooInterceptor>
intercepts
public boolean intercepts(javax.enterprise.inject.spi.InterceptionType type)
- Specified by:
intercepts in interface javax.enterprise.inject.spi.Interceptor<FooInterceptor>
intercept
public Object intercept(javax.enterprise.inject.spi.InterceptionType type,
FooInterceptor instance,
javax.interceptor.InvocationContext ctx)
- Specified by:
intercept in interface javax.enterprise.inject.spi.Interceptor<FooInterceptor>
getBeanClass
public Class<?> getBeanClass()
- Specified by:
getBeanClass in interface javax.enterprise.inject.spi.Bean<FooInterceptor>
isInvoked
public static boolean isInvoked()
reset
public static void reset()
getId
public String getId()
- Specified by:
getId in interface javax.enterprise.inject.spi.PassivationCapable
Copyright © 2008-2013 Seam Framework. All Rights Reserved.