Class InterceptorBindings
java.lang.Object
org.microbean.bean.InterceptorBindings
-
Method Summary
Modifier and TypeMethodDescriptionstatic final NamedAttributeMap
<String> Returns aNamedAttributeMap
representing the any interceptor binding.static final boolean
Returnstrue
if and only if the suppliedNamedAttributeMap
represents the any interceptor binding.static final NamedAttributeMap
<String> Returns aNamedAttributeMap
representing the interceptor binding (meta-) interceptor binding.static final boolean
Returnstrue
if and only if the suppliedNamedAttributeMap
is itself aNamedAttributeMap
that can be used to designate otherNamedAttributeMap
s as interceptor bindings, or aNamedAttributeMap
so designated.static final List
<NamedAttributeMap<?>> interceptorBindings
(Collection<? extends NamedAttributeMap<?>> c) Given aCollection
ofNamedAttributeMap
s, returns an immutableList
consisting of thoseNamedAttributeMap
instances that are deemed to be interceptor bindings.static final NamedAttributeMap
<?> Returns aNamedAttributeMap
representing a target class interceptor binding.static final boolean
Returnstrue
if and only if the suppliedNamedAttributeMap
is a target class interceptor binding.
-
Method Details
-
anyInterceptorBinding
Returns aNamedAttributeMap
representing the any interceptor binding.- Returns:
- a
NamedAttributeMap
representing the any interceptor binding; nevernull
-
anyInterceptorBinding
Returnstrue
if and only if the suppliedNamedAttributeMap
represents the any interceptor binding.- Parameters:
nam
- aNamedAttributeMap
; may benull
in which casefalse
will be returned- Returns:
true
if and only if the suppliedNamedAttributeMap
represents the any interceptor binding- See Also:
-
interceptorBinding
Returns aNamedAttributeMap
representing the interceptor binding (meta-) interceptor binding.- Returns:
- a
NamedAttributeMap
representing the interceptor binding (meta-) interceptor binding; nevernull
-
interceptorBinding
Returnstrue
if and only if the suppliedNamedAttributeMap
is itself aNamedAttributeMap
that can be used to designate otherNamedAttributeMap
s as interceptor bindings, or aNamedAttributeMap
so designated.- Parameters:
a
- aNamedAttributeMap
; may benull
in which casefalse
will be returned- Returns:
true
if and only if the suppliedNamedAttributeMap
is itself aNamedAttributeMap
that can be used to designate otherNamedAttributeMap
s as interceptor bindings, or aNamedAttributeMap
so designated- See Also:
-
interceptorBindings
public static final List<NamedAttributeMap<?>> interceptorBindings(Collection<? extends NamedAttributeMap<?>> c) Given aCollection
ofNamedAttributeMap
s, returns an immutableList
consisting of thoseNamedAttributeMap
instances that are deemed to be interceptor bindings.- Parameters:
c
- aCollection
; must not benull
- Returns:
- a
List
of interceptor bindings - Throws:
NullPointerException
- ifc
isnull
-
targetClassInterceptorBinding
Returns aNamedAttributeMap
representing a target class interceptor binding.- Parameters:
type
- the target class name; must not benull
- Returns:
- a
NamedAttributeMap
representing a target class interceptor binding; nevernull
- Throws:
NullPointerException
- iftype
isnull
-
targetClassInterceptorBinding
Returnstrue
if and only if the suppliedNamedAttributeMap
is a target class interceptor binding.- Parameters:
nam
- aNamedAttributeMap
; must not benull
- Returns:
true
if and only if the suppliedNamedAttributeMap
is a target class interceptor binding- Throws:
NullPointerException
- ifnam
isnull
-