| Package | Description |
|---|---|
| com.neurosys.configs | |
| com.neurosys.configs.service.jaxrs | |
| com.neurosys.modules.configs.admin.wicket.pages.panels |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractConfigurationJPADaoImpl<C extends AbstractConfiguration>
Abstract reusable
AbstractConfiguration class for other modules to extend. |
interface |
ConfigurationDao<K,T,C extends AbstractConfiguration>
DAO for
AbstractConfiguration |
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 ConfigurationDao.put(AbstractConfiguration) is called. |
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 | Class and Description |
|---|---|
class |
AbstractAuthorizableConfiguration
AbstractConfiguration that is AuthorizableUseful where we want to control which configuration can be controlled by people or processes with different Authorizations |
class |
DefaultConfiguration
Deprecated.
because Each application that uses this library should define its own Configuration Entity
and not use a generic one.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigurationSourceBackedSpringResource.onChange(ChangeGenerator changeGenerator,
AbstractConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigurationSourceBackedSpringResource.setSource(ConfigurationService<String,String,AbstractConfiguration> source)
The
ConfigurationService to fetches the configs from |
| Modifier and Type | Class and Description |
|---|---|
class |
DynamicConfigService<C extends AbstractConfiguration>
A WebService to extract static properties, dynamic configurations which are backed by ConfigurationService -
DynamicConfigService.getService().It also supports an optional context based namespace. |
| Modifier and Type | Class and Description |
|---|---|
class |
DynamicConfigPanel<C extends AbstractConfiguration>
Handle Display and Update of a single
AbstractConfiguration
One can override the default TextArea type by using EntityTemplate with the name matching ConfigurationService.keyGen(String, String)-ValueType |
class |
DynamicConfigsPanel<C extends AbstractConfiguration>
List all Configurations
|
class |
DynamicConfigTemplatePanel<C extends AbstractConfiguration>
|
Copyright © 2018. All rights reserved.