public interface InterceptionModel<T>
InterceptorMetadatas that apply to a particular entity.
Implementors must implement equals() and hashcode() consistently| Modifier and Type | Method and Description |
|---|---|
java.util.Set<InterceptorMetadata<?>> |
getAllInterceptors()
Returns all interceptor classes that are applicable to the given intercepted entity
|
java.util.List<InterceptorMetadata<?>> |
getConstructorInvocationInterceptors()
Returns
AroundConstruct interceptors applicable for the given constructor. |
T |
getInterceptedEntity() |
java.util.List<InterceptorMetadata<?>> |
getInterceptors(InterceptionType interceptionType,
java.lang.reflect.Method method)
Returns the interceptors applicable for the given interception type and method.
|
boolean |
hasExternalConstructorInterceptors()
Indicates whether the given entity has associated
AroundConstruct interceptors. |
boolean |
hasExternalNonConstructorInterceptors()
Indicates whether the given entity has an associated interceptor of a kind other than
AroundConstruct |
boolean |
hasTargetClassInterceptors()
Indicates whether the given entity has target class interceptor methods.
|
java.util.List<InterceptorMetadata<?>> getInterceptors(InterceptionType interceptionType, java.lang.reflect.Method method)
AroundConstruct interceptors use #getConstructorInvocationInterceptors(Constructor).interceptionType - method - - null if the interception type is lifecyclejava.lang.IllegalArgumentException - if interceptionType is business method or around timeout
but method is null, as well as if interceptionType is callback and method is not nulljava.util.List<InterceptorMetadata<?>> getConstructorInvocationInterceptors()
AroundConstruct interceptors applicable for the given constructor.java.util.Set<InterceptorMetadata<?>> getAllInterceptors()
T getInterceptedEntity()
boolean hasExternalConstructorInterceptors()
AroundConstruct interceptors.boolean hasExternalNonConstructorInterceptors()
AroundConstructboolean hasTargetClassInterceptors()
Copyright © 2013 Seam Framework. All Rights Reserved.