Package | Description |
---|---|
org.glassfish.hk2.utilities | |
org.glassfish.hk2.utilities.binding |
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.
|
Copyright © 2009–2019 Oracle Corporation. All rights reserved.