Package | Description |
---|---|
org.glassfish.hk2.extras.events.internal | |
org.glassfish.hk2.runlevel | |
org.glassfish.hk2.utilities | |
org.glassfish.hk2.utilities.binding | |
org.jvnet.hk2.testing.junit |
Modifier and Type | Class and Description |
---|---|
class |
TopicDistributionModule
This module can be used to enable the default HK2
implementation of Topic distribution.
|
Modifier and Type | Class and Description |
---|---|
class |
RunLevelServiceModule
This module can be used to enable the RunLevelService
in a system not using automatic service discovery.
|
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 ServiceLocator |
ServiceLocatorUtilities.bind(Binder... binders)
This method will create or find a ServiceLocator with the name "default" and
bind all of the binders given together in a single config transaction.
|
static void |
ServiceLocatorUtilities.bind(ServiceLocator locator,
Binder... binders)
This method will bind all of the binders given together in a
single config transaction.
|
static ServiceLocator |
ServiceLocatorUtilities.bind(String name,
Binder... binders)
This method will create or find a ServiceLocator with the given name and
bind all of the binders given together in a single config transaction.
|
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 |
---|---|
void |
AbstractBinder.install(Binder... binders)
Adds all binding definitions from the binders to the binding configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
ServiceLocatorTestRule<T>
An
ExternalResource (and a Binder ) that sets up and
tears down an HK2 ServiceLocator on a per-test-class or
per-test-method basis. |
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.