Package org.glassfish.hk2.api
Interface DynamicConfigurationService
- All Known Implementing Classes:
DynamicConfigurationServiceImpl
The dynamic configuration service is the source of
DynamicConfiguration
instances, which can be used to bind and unbind entities into the system-
Method Summary
Modifier and TypeMethodDescriptionCreates a dynamic configuration that can be used to add or remove values to the systemReturns a populator for this service locator that can be used to automatically read in hk2 inhabitant files (or some other external source)
-
Method Details
-
createDynamicConfiguration
DynamicConfiguration createDynamicConfiguration()Creates a dynamic configuration that can be used to add or remove values to the system- Returns:
- A dynamic configuration to be used to add values to the system
-
getPopulator
Populator getPopulator()Returns a populator for this service locator that can be used to automatically read in hk2 inhabitant files (or some other external source)- Returns:
- A non-null populator that can be used to fill in a
ServiceLocator
-