|
JBoss EJB 3.1 Common Interceptor Library Parent 2.0.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InterceptionModel<T,I>
Describes the InterceptorMetadatas that apply to a particular entity.
Implementors must implement equals() and hashcode() consistently
| Method Summary | |
|---|---|
Set<InterceptorMetadata<I>> |
getAllInterceptors()
Returns all interceptor classes that are applicable to the given intercepted entity |
T |
getInterceptedEntity()
|
List<InterceptorMetadata<I>> |
getInterceptors(InterceptionType interceptionType,
Method method)
Returns the interceptors applicable for the given interception type and method |
| Method Detail |
|---|
List<InterceptorMetadata<I>> getInterceptors(InterceptionType interceptionType,
Method method)
interceptionType - method - - null if the interception type is lifecycle
IllegalArgumentException - if interceptionType is business method or around timeout
but method is null, as well as if interceptionType is callback and method is not nullSet<InterceptorMetadata<I>> getAllInterceptors()
T getInterceptedEntity()
|
JBoss EJB 3.1 Common Interceptor Library Parent 2.0.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||