Class AliasBinding
java.lang.Object
org.glassfish.jersey.internal.inject.AliasBinding
Injection binding description used to describe the aliases to main
Binding
.- Author:
- Petr Bouda
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
Gets binding's contract.Gets binding's qualifiers.getRank()
Gets binding's optional rank.getScope()
Gets binding's optional scope.Sets the binding's scope.qualifiedBy
(Annotation annotation) Adds a new binding's qualifier.ranked
(int rank) Sets the binding's rank.
-
Method Details
-
getContract
Gets binding's contract.- Returns:
- binding's contract.
-
getScope
Gets binding's optional scope.- Returns:
- binding's scope, if set explicitly.
-
in
Sets the binding's scope.- Parameters:
scope
- binding's scope.- Returns:
- current instance.
-
getRank
Gets binding's optional rank.- Returns:
- binding's rank, if set explicitly.
-
ranked
Sets the binding's rank.- Parameters:
rank
- binding's rank.- Returns:
- current instance.
-
getQualifiers
Gets binding's qualifiers.- Returns:
- binding's qualifiers
-
qualifiedBy
Adds a new binding's qualifier.- Parameters:
annotation
- binding's qualifier.- Returns:
- current instance.
-