public interface InterceptionModel<T,I>
extends java.io.Serializable
InterceptorMetadatas that apply to a particular entity.
Implementors must implement equals() and hashcode() consistently| Modifier and Type | Method and Description |
|---|---|
java.util.Set<InterceptorMetadata<I>> |
getAllInterceptors()
Returns all interceptor classes that are applicable to the given intercepted entity
|
T |
getInterceptedEntity() |
java.util.List<InterceptorMetadata<I>> |
getInterceptors(InterceptionType interceptionType,
java.lang.reflect.Method method)
Returns the interceptors applicable for the given interception type and method
|
java.util.List<InterceptorMetadata<I>> getInterceptors(InterceptionType interceptionType, java.lang.reflect.Method method)
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.Set<InterceptorMetadata<I>> getAllInterceptors()
T getInterceptedEntity()
Copyright © 2014 Seam Framework. All Rights Reserved.