Class InterceptionProxier.Specification
java.lang.Object
org.microbean.proxy.ProxySpecification
org.microbean.producer.InterceptionProxier.Specification
- Enclosing interface:
InterceptionProxier
A
ProxySpecification that exposes InterceptorMethod-related information.- Author:
- Laird Nelson
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSpecification(Domain domain, Id id, Map<ExecutableElement, List<InterceptorMethod>> aroundInvokeInterceptions) Creates a newInterceptionProxier.Specification. -
Method Summary
Modifier and TypeMethodDescriptionfinal List<InterceptorMethod> Returns a non-null, immutable, determinateListofInterceptorMethods pertaining to the suppliedExecutableElement.Methods inherited from class org.microbean.proxy.ProxySpecification
attributes, equals, hashCode, interfaces, name, superclass
-
Constructor Details
-
Specification
public Specification(Domain domain, Id id, Map<ExecutableElement, List<InterceptorMethod>> aroundInvokeInterceptions) Creates a newInterceptionProxier.Specification.- Parameters:
domain- aDomain; must not benullid- anId; must not benullaroundInvokeInterceptions- aMapofInterceptorMethods indexed by theExecutableElementto which they apply; must not benull- Throws:
NullPointerException- if any argument isnull
-
-
Method Details
-
interceptorMethods
Returns a non-null, immutable, determinateListofInterceptorMethods pertaining to the suppliedExecutableElement.- Parameters:
ee- anExecutableElement; must not benull- Returns:
- a non-
null, immutable, determinateListofInterceptorMethods pertaining to the suppliedExecutableElement - Throws:
NullPointerException- ifeeisnull
-