| Modifier and Type | Method and Description |
|---|---|
| public ServiceBindingBuilder | analyzeWith(String
The name of the analyzer that should be used. May be null
to indicate the default class analzyer analyzer)Set the name of the |
| public ServiceBindingBuilder | |
| public ScopedBindingBuilder | |
| public ScopedBindingBuilder | Returns: updated binding.scope annotation. scopeAnnotation)Scope a binding. |
| public ServiceBindingBuilder | |
| public NamedBindingBuilder | |
| public ServiceBindingBuilder | proxy(boolean
flag to determine if the binding should be proxiable. proxiable)Set proxy flag on the binding. |
| public ServiceBindingBuilder | Returns: A further refined ServiceBindingBuilderflag to determine if proxies should be generated
even within the same scope proxyForSameScope)Set proxyForSameScope flag on the binding |
| public ServiceBindingBuilder | Returns: updated binder.qualifier annotation. annotation)Add a binding qualifier annotation. |
| public void | ranked(int
binding rank to be used to resolve ordering in case of multiple services
are bound to the same contract. rank)Rank the binding. |
| public ServiceBindingBuilder | |
| public ServiceBindingBuilder | |
| public ServiceBindingBuilder | |
| public ServiceBindingBuilder | Returns: updated binder.metadata key. key, String metadata value. value)Add binding descriptor metadata. |
| public ServiceBindingBuilder | Returns: updated binder.metadata key. key, List<String> metadata values. values)Add binding descriptor metadata. |
| analyzeWith | back to summary |
|---|---|
| public ServiceBindingBuilder Set the name of the
| |
| asType | back to summary |
|---|---|
| public ServiceBindingBuilder Call this if the parameterized type of the implementation class is known. This must only be called with a ParameterizedType
| |
| in | back to summary |
|---|---|
| public ScopedBindingBuilder Scope a binding.
| |
| in | back to summary |
|---|---|
| public ScopedBindingBuilder Scope a binding.
| |
| loadedBy | back to summary |
|---|---|
| public ServiceBindingBuilder Custom HK2 loader to be used when service class is about to be loaded.
| |
| named | back to summary |
|---|---|
| public NamedBindingBuilder
| |
| proxy | back to summary |
|---|---|
| public ServiceBindingBuilder Set proxy flag on the binding.
| |
| proxyForSameScope | back to summary |
|---|---|
| public ServiceBindingBuilder Set proxyForSameScope flag on the binding
| |
| qualifiedBy | back to summary |
|---|---|
| public ServiceBindingBuilder Add a binding qualifier annotation. If this is
being used with a
| |
| ranked | back to summary |
|---|---|
| public void ranked(int rank) Rank the binding. The higher rank, the more prominent position in an injected
| |
| to | back to summary |
|---|---|
| public ServiceBindingBuilder Bind a new contract to a service.
| |
| to | back to summary |
|---|---|
| public ServiceBindingBuilder Bind a new contract to a service.
| |
| to | back to summary |
|---|---|
| public ServiceBindingBuilder Bind a new contract to a service.
| |
| withMetadata | back to summary |
|---|---|
| public ServiceBindingBuilder Add binding descriptor metadata.
The metadata can be later used to e.g.
| |
| withMetadata | back to summary |
|---|---|
| public ServiceBindingBuilder Add binding descriptor metadata.
The metadata can be later used to e.g.
| |