Class InterceptorBindings
java.lang.Object
org.microbean.bean.InterceptorBindings
-
Method Summary
Modifier and TypeMethodDescriptionstatic final AttributesReturns aAttributesrepresenting the any interceptor binding.static final booleanReturnstrueif and only if the suppliedAttributesrepresents the any interceptor binding.static final AttributesReturns aAttributesrepresenting the interceptor binding (meta-) interceptor binding.static final booleanReturnstrueif and only if the suppliedAttributesis itself aAttributesthat can be used to designate otherAttributesinstances as interceptor bindings, or aAttributesso designated.static final List<Attributes> interceptorBindings(Collection<? extends Attributes> c) Given aCollectionofAttributess, returns an immutableListconsisting of thoseAttributesinstances that are deemed to be interceptor bindings.static final AttributesReturns aAttributesrepresenting a target class interceptor binding.static final booleanReturnstrueif and only if the suppliedAttributesis a target class interceptor binding.
-
Method Details
-
anyInterceptorBinding
Returns aAttributesrepresenting the any interceptor binding.- Returns:
- a
Attributesrepresenting the any interceptor binding; nevernull
-
anyInterceptorBinding
Returnstrueif and only if the suppliedAttributesrepresents the any interceptor binding.- Parameters:
a- aAttributes; may benullin which casefalsewill be returned- Returns:
trueif and only if the suppliedAttributesrepresents the any interceptor binding- See Also:
-
interceptorBinding
Returns aAttributesrepresenting the interceptor binding (meta-) interceptor binding.- Returns:
- a
Attributesrepresenting the interceptor binding (meta-) interceptor binding; nevernull
-
interceptorBinding
Returnstrueif and only if the suppliedAttributesis itself aAttributesthat can be used to designate otherAttributesinstances as interceptor bindings, or aAttributesso designated.- Parameters:
a- aAttributes; may benullin which casefalsewill be returned- Returns:
trueif and only if the suppliedAttributesis itself aAttributesthat can be used to designate otherAttributesinstances as interceptor bindings, or aAttributesso designated- See Also:
-
interceptorBindings
Given aCollectionofAttributess, returns an immutableListconsisting of thoseAttributesinstances that are deemed to be interceptor bindings.- Parameters:
c- aCollection; must not benull- Returns:
- a
Listof interceptor bindings - Throws:
NullPointerException- ifcisnull
-
targetClassInterceptorBinding
Returns aAttributesrepresenting a target class interceptor binding.- Parameters:
type- the target class name; must not benull- Returns:
- a
Attributesrepresenting a target class interceptor binding; nevernull - Throws:
NullPointerException- iftypeisnull
-
targetClassInterceptorBinding
Returnstrueif and only if the suppliedAttributesis a target class interceptor binding.- Parameters:
a- aAttributes; must not benull- Returns:
trueif and only if the suppliedAttributesis a target class interceptor binding- Throws:
NullPointerException- ifaisnull
-