|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - the interceptor bean classpublic interface Interceptor<T>
Represents an enabled interceptor.
| Method Summary | |
|---|---|
java.util.Set<java.lang.annotation.Annotation> |
getInterceptorBindings()
Obtains the interceptor bindings of the interceptor. |
java.lang.Object |
intercept(InterceptionType type,
T instance,
InvocationContext ctx)
Invokes the specified kind of lifecycle callback or method invocation interception upon the given interceptor instance. |
boolean |
intercepts(InterceptionType type)
Determines if the interceptor intercepts the specified kind of lifecycle callback or method invocation. |
| 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> getInterceptorBindings()
Obtains the interceptor bindings of the interceptor.
boolean intercepts(InterceptionType type)
Determines if the interceptor intercepts the specified kind of lifecycle callback or method invocation.
type - the kind of interception
java.lang.Object intercept(InterceptionType type,
T instance,
InvocationContext ctx)
Invokes the specified kind of lifecycle callback or method invocation interception upon the given interceptor instance.
type - the kind of interceptioninstance - the interceptor instance to invokectx - the context for the invocation
|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.
Generated on 24-November-2009 03:24