Package org.jvnet.hk2.internal
Class DynamicConfigurationServiceImpl
java.lang.Object
org.jvnet.hk2.internal.DynamicConfigurationServiceImpl
- All Implemented Interfaces:
DynamicConfigurationService
@Singleton
public class DynamicConfigurationServiceImpl
extends Object
implements DynamicConfigurationService
-
Field Summary
Fields -
Constructor Summary
Constructors -
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)
-
Field Details
-
locator
-
populator
-
-
Constructor Details
-
DynamicConfigurationServiceImpl
-
-
Method Details
-
createDynamicConfiguration
Description copied from interface:DynamicConfigurationService
Creates a dynamic configuration that can be used to add or remove values to the system- Specified by:
createDynamicConfiguration
in interfaceDynamicConfigurationService
- Returns:
- A dynamic configuration to be used to add values to the system
-
getPopulator
Description copied from interface:DynamicConfigurationService
Returns a populator for this service locator that can be used to automatically read in hk2 inhabitant files (or some other external source)- Specified by:
getPopulator
in interfaceDynamicConfigurationService
- Returns:
- A non-null populator that can be used to fill in a
ServiceLocator
-