org.guvnor.structure.backend.config
Class ConfigurationServiceImpl
java.lang.Object
org.guvnor.structure.backend.config.ConfigurationServiceImpl
- All Implemented Interfaces:
- AsyncWatchServiceCallback, ConfigurationService
@ApplicationScoped
public class ConfigurationServiceImpl
- extends Object
- implements ConfigurationService, AsyncWatchServiceCallback
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationServiceImpl
public ConfigurationServiceImpl()
setup
@PostConstruct
public void setup()
shutdown
@PreDestroy
public void shutdown()
getConfiguration
public List<ConfigGroup> getConfiguration(ConfigType type)
- Specified by:
getConfiguration in interface ConfigurationService
addConfiguration
public boolean addConfiguration(ConfigGroup configGroup)
- Specified by:
addConfiguration in interface ConfigurationService
updateConfiguration
public boolean updateConfiguration(ConfigGroup configGroup)
- Specified by:
updateConfiguration in interface ConfigurationService
removeConfiguration
public boolean removeConfiguration(ConfigGroup configGroup)
- Specified by:
removeConfiguration in interface ConfigurationService
getIdentityName
protected String getIdentityName()
getLastModified
protected long getLastModified()
updateLastModified
protected void updateLastModified()
callback
public void callback(long value)
- Specified by:
callback in interface AsyncWatchServiceCallback
getWatchServiceExecutor
protected ConfigServiceWatchServiceExecutor getWatchServiceExecutor()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.