javax.enterprise.inject.spi
Interface Interceptor<T>

All Superinterfaces:
Bean<T>, Contextual<T>

public interface Interceptor<T>
extends Bean<T>


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)
           
 boolean intercepts(InterceptionType type)
           
 
Methods inherited from interface javax.enterprise.inject.spi.Bean
getBindings, getDeploymentType, getInjectionPoints, getName, getScopeType, getTypes, isNullable, isSerializable
 
Methods inherited from interface javax.enterprise.context.spi.Contextual
create, destroy
 

Method Detail

getInterceptorBindingTypes

java.util.Set<java.lang.annotation.Annotation> getInterceptorBindingTypes()
The interceptor bindings used to bind an interceptor to a bean

Returns:
the interceptor bindings

intercepts

boolean intercepts(InterceptionType type)

intercept

java.lang.Object intercept(InterceptionType type,
                           T instance,
                           javax.interceptor.InvocationContext ctx)


Copyright © 2008-2009. All Rights Reserved.