| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | analyzer
Analyzer to use with this descriptor |
| pack-priv Set | contracts
Contracts the service should be bound to. |
| pack-priv Type | |
| pack-priv HK2Loader | loader
Bound service loader. |
| pack-priv final MultiMap | metadata
Binding metadata (e.g. useful for filtering). |
| pack-priv String | name
Binding name (see @Named). |
| pack-priv Boolean | proxiable
Injectee is proxiable. |
| pack-priv Boolean | proxyForSameScope
Injectee should be proxied even inside the same scope |
| pack-priv Set | qualifiers
Qualifiers (other than @Named). |
| pack-priv Integer | ranked
Binding rank. |
| pack-priv Class | scope
Binding scope. |
| pack-priv Annotation | scopeAnnotation
Binding scope as annotation |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| analyzer | back to summary |
|---|---|
| pack-priv String analyzer Analyzer to use with this descriptor | |
| contracts | back to summary |
|---|---|
| pack-priv Set<Type> contracts Contracts the service should be bound to. | |
| implementationType | back to summary |
|---|---|
| pack-priv Type implementationType | |
| loader | back to summary |
|---|---|
| pack-priv HK2Loader loader Bound service loader. | |
| metadata | back to summary |
|---|---|
| pack-priv final MultiMap<String, String> metadata Binding metadata (e.g. useful for filtering). | |
| name | back to summary |
|---|---|
| pack-priv String name Binding name (see @Named). | |
| proxiable | back to summary |
|---|---|
| pack-priv Boolean proxiable Injectee is proxiable. | |
| proxyForSameScope | back to summary |
|---|---|
| pack-priv Boolean proxyForSameScope Injectee should be proxied even inside the same scope | |
| qualifiers | back to summary |
|---|---|
| pack-priv Set<Annotation> qualifiers Qualifiers (other than @Named). | |
| ranked | back to summary |
|---|---|
| pack-priv Integer ranked Binding rank. | |
| scope | back to summary |
|---|---|
| pack-priv Class<? extends Annotation> scope Binding scope. | |
| scopeAnnotation | back to summary |
|---|---|
| pack-priv Annotation scopeAnnotation Binding scope as annotation | |
| AbstractBindingBuilder | back to summary |
|---|---|
| pack-priv AbstractBindingBuilder() | |
| analyzeWith | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Set the name of the
| |
| asType | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Call this if the parameterized type of the implementation class is known. This must only be called with a ParameterizedType | |
| complete | back to summary |
|---|---|
| pack-priv abstract void complete(DynamicConfiguration configuration, HK2Loader defaultLoader) Build the binding descriptor and bind it in the
| |
| create | back to summary |
|---|---|
| pack-priv static <T> AbstractBindingBuilder Create a new service binding builder.
| |
| create | back to summary |
|---|---|
| pack-priv static <T> AbstractBindingBuilder Create a new service binding builder.
| |
| create | back to summary |
|---|---|
| pack-priv static <T> AbstractBindingBuilder Create a new service binding builder.
| |
| create | back to summary |
|---|---|
| pack-priv static <T> AbstractBindingBuilder Create a new service binding builder.
| |
| createFactoryBinder | back to summary |
|---|---|
| pack-priv static <T> AbstractBindingBuilder Create a new service binding builder.
| |
| createFactoryBinder | back to summary |
|---|---|
| pack-priv static <T> AbstractBindingBuilder Create a new service binding builder.
| |
| in | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Scope a binding.
| |
| in | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Scope a binding.
| |
| loadedBy | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Custom HK2 loader to be used when service class is about to be loaded.
| |
| named | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org.
| |
| proxy | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Set proxy flag on the binding.
| |
| proxyForSameScope | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Set proxyForSameScope flag on the binding
| |
| qualifiedBy | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Add a binding qualifier annotation. If this is
being used with a
| |
| ranked | back to summary |
|---|---|
| public void ranked(int rank) Implements org. Doc from org. Rank the binding. The higher rank, the more prominent position in an injected
| |
| to | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Bind a new contract to a service.
| |
| to | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Bind a new contract to a service.
| |
| to | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Bind a new contract to a service.
| |
| withMetadata | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Add binding descriptor metadata.
The metadata can be later used to e.g.
| |
| withMetadata | back to summary |
|---|---|
| public AbstractBindingBuilder Implements org. Doc from org. Add binding descriptor metadata.
The metadata can be later used to e.g.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | complete(final DynamicConfiguration configuration, final HK2Loader defaultLoader)
Implements abstract org. Build the binding descriptor and bind it in the |
| service | back to summary |
|---|---|
| private final Class<T> service | |
| ClassBasedBindingBuilder | back to summary |
|---|---|
| public ClassBasedBindingBuilder(Class<T> service, Type serviceContractType) | |
| complete | back to summary |
|---|---|
| pack-priv void complete(final DynamicConfiguration configuration, final HK2Loader defaultLoader) Implements abstract org. Doc from org. Build the binding descriptor and bind it in the
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Factory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | complete(DynamicConfiguration configuration, HK2Loader defaultLoader)
Implements abstract org. Build the binding descriptor and bind it in the |
| factory | back to summary |
|---|---|
| private final Factory<T> factory | |
| FactoryInstanceBasedBindingBuilder | back to summary |
|---|---|
| public FactoryInstanceBasedBindingBuilder(Factory<T> factory) | |
| complete | back to summary |
|---|---|
| pack-priv void complete(DynamicConfiguration configuration, HK2Loader defaultLoader) Implements abstract org. Doc from org. Build the binding descriptor and bind it in the
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public | FactoryTypeBasedBindingBuilder(Class<? extends Factory<T>> factoryClass, Class<? extends Annotation> factoryScope)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | complete(DynamicConfiguration configuration, HK2Loader defaultLoader)
Implements abstract org. Build the binding descriptor and bind it in the |
| factoryClass | back to summary |
|---|---|
| private final Class<? extends Factory<T>> factoryClass | |
| factoryScope | back to summary |
|---|---|
| private final Class<? extends Annotation> factoryScope | |
| FactoryTypeBasedBindingBuilder | back to summary |
|---|---|
| public FactoryTypeBasedBindingBuilder(Class<? extends Factory<T>> factoryClass, Class<? extends Annotation> factoryScope) | |
| complete | back to summary |
|---|---|
| pack-priv void complete(DynamicConfiguration configuration, HK2Loader defaultLoader) Implements abstract org. Doc from org. Build the binding descriptor and bind it in the
| |
| Modifier and Type | Field and Description |
|---|---|
| private final T |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | complete(DynamicConfiguration configuration, HK2Loader defaultLoader)
Implements abstract org. Build the binding descriptor and bind it in the |
| service | back to summary |
|---|---|
| private final T service | |
| InstanceBasedBindingBuilder | back to summary |
|---|---|
| public InstanceBasedBindingBuilder(T service) | |
| complete | back to summary |
|---|---|
| pack-priv void complete(DynamicConfiguration configuration, HK2Loader defaultLoader) Implements abstract org. Doc from org. Build the binding descriptor and bind it in the
| |