| Package | Description |
|---|---|
| com.neurosys.configs |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConfigurationService<K,T,C extends AbstractConfiguration>
Service level wrappers over
ConfigurationDao and in turn ConfigurationSource.Additional services like Authorization, Inherent Caching, event listeners on any setter methods etc
This implements ChangeGenerator and generates an event whenever put(AbstractConfiguration) is called. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractConfigurationJPADaoImpl<C extends AbstractConfiguration>
Abstract reusable
AbstractConfiguration class for other modules to extend. |
class |
ConfigurationJPADaoImpl
Deprecated.
Each Application is encouraged to define its own implementation of
AbstractConfigurationJPADaoImpl
Try to extend from AbstractQueryableDaoImpl directly |
class |
DefaultConfigurationService<C extends AbstractConfiguration>
ConfigurationService implementation that wrap the following services over base configuration fetching and setting configs via AbstractConfigurationJPADaoImpl:
Audit of changes
Cache eviction on change
Authorization service for AbstractAuthorizableConfigurations
|
| Modifier and Type | Method and Description |
|---|---|
<CD extends ConfigurationDao<String,String,C>> |
DefaultConfigurationService.getDao()
DAO backing this service
|
<CD extends ConfigurationDao<String,String,C>> |
ConfigurationService.getDao()
Dao backing this service
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultConfigurationService.setDao(ConfigurationDao<String,String,C> dao)
DAO backing this service
|
Copyright © 2018. All rights reserved.