Package | Description |
---|---|
org.glassfish.hk2.api | |
org.glassfish.hk2.utilities | |
org.glassfish.hk2.utilities.binding |
Modifier and Type | Method and Description |
---|---|
<T> FactoryDescriptors |
DynamicConfiguration.addActiveFactoryDescriptor(Class<? extends Factory<T>> rawFactoryClass)
This adds two active descriptors to the system based completely on the analysis
of the given
Factory class. |
Modifier and Type | Method and Description |
---|---|
static List<FactoryDescriptors> |
ServiceLocatorUtilities.addFactoryConstants(ServiceLocator locator,
Factory<?>... constants)
This method adds factory constants to the given locator.
|
Modifier and Type | Method and Description |
---|---|
<T> ServiceBindingBuilder<T> |
AbstractBinder.bindFactory(Factory<T> factory)
Start building a new factory instance-based service binding.
|
static <T> ServiceBindingBuilder<T> |
BindingBuilderFactory.newFactoryBinder(Factory<T> factory)
Get a new factory instance-based service binding builder.
|
Modifier and Type | Method and Description |
---|---|
<T> FactoryDescriptors |
AbstractBinder.addActiveFactoryDescriptor(Class<? extends Factory<T>> rawFactoryClass)
This adds two active descriptors to the system based completely on the analysis
of the given
Factory class. |
<T> ServiceBindingBuilder<T> |
AbstractBinder.bindFactory(Class<? extends Factory<T>> factoryType)
Start building a new factory class-based service binding.
|
<T> ServiceBindingBuilder<T> |
AbstractBinder.bindFactory(Class<? extends Factory<T>> factoryType,
Class<? extends Annotation> factoryScope)
Start building a new factory class-based service binding.
|
static <T> ServiceBindingBuilder<T> |
BindingBuilderFactory.newFactoryBinder(Class<? extends Factory<T>> factoryType)
Get a new factory class-based service binding builder.
|
static <T> ServiceBindingBuilder<T> |
BindingBuilderFactory.newFactoryBinder(Class<? extends Factory<T>> factoryType,
Class<? extends Annotation> factoryScope)
Get a new factory class-based service binding builder.
|
Copyright © 2009–2019 Oracle Corporation. All rights reserved.