@Singleton public class DynamicConfigurationServiceImpl extends java.lang.Object implements DynamicConfigurationService
Modifier and Type | Field and Description |
---|---|
private ServiceLocatorImpl |
locator |
private Populator |
populator |
Modifier | Constructor and Description |
---|---|
private |
DynamicConfigurationServiceImpl(ServiceLocator locator) |
Modifier and Type | Method and Description |
---|---|
DynamicConfiguration |
createDynamicConfiguration()
Creates a dynamic configuration that can be used to add or remove values
to the system
|
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)
|
private final ServiceLocatorImpl locator
private final Populator populator
@Inject private DynamicConfigurationServiceImpl(ServiceLocator locator)
public DynamicConfiguration createDynamicConfiguration()
DynamicConfigurationService
createDynamicConfiguration
in interface DynamicConfigurationService
public Populator getPopulator()
DynamicConfigurationService
getPopulator
in interface DynamicConfigurationService
ServiceLocator