|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- public interface Interceptor<T>
Main interface for all Bean objects representing an interceptor.
Method Summary | |
---|---|
java.util.Set<java.lang.annotation.Annotation> |
getInterceptorBindingTypes()
The interceptor bindings used to bind an interceptor to a bean |
java.lang.Object |
intercept(InterceptionType type,
T instance,
javax.interceptor.InvocationContext ctx)
Invokes the specified kind of lifecycle callback or business method upon the given instance |
boolean |
intercepts(InterceptionType type)
Tests if this intercepts callbacks or business methods of the given type |
Methods inherited from interface javax.enterprise.inject.spi.Bean |
---|
getBeanClass, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable |
Methods inherited from interface javax.enterprise.context.spi.Contextual |
---|
create, destroy |
Method Detail |
---|
java.util.Set<java.lang.annotation.Annotation> getInterceptorBindingTypes()
boolean intercepts(InterceptionType type)
type
- The type of interception
java.lang.Object intercept(InterceptionType type, T instance, javax.interceptor.InvocationContext ctx)
type
- the interception typeinstance
- the instance to invokectx
- the context for the invocation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |