Package | Description |
---|---|
org.glassfish.hk2.api | |
org.glassfish.hk2.utilities | |
org.glassfish.hk2.utilities.binding |
Modifier and Type | Method and Description |
---|---|
DynamicConfiguration |
DynamicConfigurationService.createDynamicConfiguration()
Creates a dynamic configuration that can be used to add or remove values
to the system
|
Modifier and Type | Class and Description |
---|---|
class |
EnableLookupExceptionsModule
This module can be used to enable exceptions to be
thrown from getService API when a descriptor throws
an exception during reification or other errors.
|
class |
ImmediateScopeModule
This module can be used to enable the
Immediate scope
feature. |
class |
InheritableThreadScopeModule
This module can be used to enable the
InheritableThread scope
feature. |
class |
PerThreadScopeModule
This module can be used to enable the
PerThread scope
feature. |
Modifier and Type | Method and Description |
---|---|
static DynamicConfiguration |
ServiceLocatorUtilities.createDynamicConfiguration(ServiceLocator locator)
This method returns a
DynamicConfiguration for use with adding
and removing services to the given ServiceLocator . |
Modifier and Type | Method and Description |
---|---|
void |
Binder.bind(DynamicConfiguration config)
This method will be called by the
ServiceLocatorUtilities.bind(org.glassfish.hk2.api.ServiceLocator, Binder...) method for each
binder given. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBinder
Skeleton implementation of injection binder with convenience methods for
binding definitions.
|
Modifier and Type | Method and Description |
---|---|
static void |
BindingBuilderFactory.addBinding(BindingBuilder<?> builder,
DynamicConfiguration configuration)
Add a binding represented by the binding builder to the HK2 dynamic configuration.
|
static void |
BindingBuilderFactory.addBinding(BindingBuilder<?> builder,
DynamicConfiguration configuration,
HK2Loader defaultLoader)
Add a binding represented by the binding builder to the HK2 dynamic configuration.
|
void |
AbstractBinder.bind(DynamicConfiguration configuration) |
Copyright © 2009–2019 Oracle Corporation. All rights reserved.