public interface InterceptionModel
InterceptorClassMetadatas that apply to a particular entity.
Implementors must implement equals() and hashcode() consistently| Modifier and Type | Method and Description |
|---|---|
Set<InterceptorClassMetadata<?>> |
getAllInterceptors()
Returns all interceptor classes that are applicable to the given intercepted entity
|
List<InterceptorClassMetadata<?>> |
getConstructorInvocationInterceptors()
Returns
AroundConstruct interceptors applicable for the given constructor. |
List<InterceptorClassMetadata<?>> |
getInterceptors(InterceptionType interceptionType,
Method method)
Returns the interceptors applicable for the given interception type and method.
|
TargetClassInterceptorMetadata |
getTargetClassInterceptorMetadata()
Returns the interceptor metadata for the component class of this component.
|
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.
|
List<InterceptorClassMetadata<?>> getInterceptors(InterceptionType interceptionType, Method method)
AroundConstruct interceptors use #getConstructorInvocationInterceptors(java.lang.reflect.Constructor).interceptionType - method - - null if the interception type is lifecycleIllegalArgumentException - if interceptionType is business method or around timeout
but method is null, as well as if interceptionType is callback and method is not nullList<InterceptorClassMetadata<?>> getConstructorInvocationInterceptors()
AroundConstruct interceptors applicable for the given constructor.Set<InterceptorClassMetadata<?>> getAllInterceptors()
boolean hasExternalConstructorInterceptors()
AroundConstruct interceptors.boolean hasExternalNonConstructorInterceptors()
AroundConstructboolean hasTargetClassInterceptors()
TargetClassInterceptorMetadata getTargetClassInterceptorMetadata()
Copyright © 2015. All Rights Reserved.