public interface InterceptionModel
InterceptorClassMetadatas that apply to a particular entity.
Implementors must implement equals() and hashcode() consistently| Modifier and Type | Method and Description |
|---|---|
java.util.Set<InterceptorClassMetadata<?>> |
getAllInterceptors()
Returns all interceptor classes that are applicable to the given intercepted entity
|
java.util.List<InterceptorClassMetadata<?>> |
getConstructorInvocationInterceptors()
Returns
AroundConstruct interceptors applicable for the given constructor. |
java.util.List<InterceptorClassMetadata<?>> |
getInterceptors(InterceptionType interceptionType,
java.lang.reflect.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.
|
java.util.List<InterceptorClassMetadata<?>> getInterceptors(InterceptionType interceptionType, java.lang.reflect.Method method)
AroundConstruct interceptors use #getConstructorInvocationInterceptors(java.lang.reflect.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<InterceptorClassMetadata<?>> getConstructorInvocationInterceptors()
AroundConstruct interceptors applicable for the given constructor.java.util.Set<InterceptorClassMetadata<?>> getAllInterceptors()
boolean hasExternalConstructorInterceptors()
AroundConstruct interceptors.boolean hasExternalNonConstructorInterceptors()
AroundConstructboolean hasTargetClassInterceptors()
TargetClassInterceptorMetadata getTargetClassInterceptorMetadata()
Copyright © 2015. All Rights Reserved.