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