public class CustomInterceptor extends AbstractInterceptor<FooInterceptor> implements javax.enterprise.inject.spi.PassivationCapable
Interceptor. Delegates to FooInterceptor (which in real world could represent a
legacy-style interceptor - e.g. Seam 2 interceptor)| Constructor and Description |
|---|
CustomInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getBeanClass() |
String |
getId() |
Set<Annotation> |
getInterceptorBindings() |
Object |
intercept(javax.enterprise.inject.spi.InterceptionType type,
FooInterceptor instance,
javax.interceptor.InvocationContext ctx) |
boolean |
intercepts(javax.enterprise.inject.spi.InterceptionType type) |
static boolean |
isInvoked() |
static void |
reset() |
create, destroy, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullablepublic Set<Annotation> getInterceptorBindings()
getInterceptorBindings in interface javax.enterprise.inject.spi.Interceptor<FooInterceptor>public boolean intercepts(javax.enterprise.inject.spi.InterceptionType type)
intercepts in interface javax.enterprise.inject.spi.Interceptor<FooInterceptor>public Object intercept(javax.enterprise.inject.spi.InterceptionType type, FooInterceptor instance, javax.interceptor.InvocationContext ctx)
intercept in interface javax.enterprise.inject.spi.Interceptor<FooInterceptor>public Class<?> getBeanClass()
getBeanClass in interface javax.enterprise.inject.spi.Bean<FooInterceptor>public static boolean isInvoked()
public static void reset()
public String getId()
getId in interface javax.enterprise.inject.spi.PassivationCapableCopyright © 2008-2013 Seam Framework. All Rights Reserved.