|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.configure.AbstractConfigurationLoader
com.ail.core.configure.WebServiceConfigurationLoader
public class WebServiceConfigurationLoader
This configuration loader acts as a web services client.
| Constructor Summary | |
|---|---|
WebServiceConfigurationLoader()
|
|
| Method Summary | |
|---|---|
void |
deleteConfigurationRepository()
Delete the repository holding configuration information. |
java.util.Collection<java.lang.String> |
getNamespaces()
Build and return a list of the namespaces currently being used. |
java.util.Collection<ConfigurationSummary> |
getNamespacesHistorySummary(java.lang.String namespace)
Fetch the details of a specific configurations history. |
java.util.Collection<ConfigurationSummary> |
getNamespacesSummary()
Fetch the summary details for all the configurations that are current. |
Configuration |
loadConfiguration(java.lang.String namespace,
VersionEffectiveDate date)
Fetch the configuration associated with a given namespace, and return it. |
void |
purgeAllConfigurations()
Delete ALL configuration information. |
void |
reset()
When the configuration handler is asked to "reset", it passes that request onto the loader currently in user. |
void |
saveConfiguration(java.lang.String namespace,
Configuration config)
Save (and update) the configuration associated with the specificed namespace. |
| Methods inherited from class com.ail.core.configure.AbstractConfigurationLoader |
|---|
getLoaderParams, loadLoader |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebServiceConfigurationLoader()
| Method Detail |
|---|
public Configuration loadConfiguration(java.lang.String namespace,
VersionEffectiveDate date)
loadConfiguration in class AbstractConfigurationLoadernamespace - The namespace to load for.date - The effective date to load the configuration for.
public void saveConfiguration(java.lang.String namespace,
Configuration config)
throws ConfigurationUpdateCollisionError
saveConfiguration in class AbstractConfigurationLoadernamespace - The namespace to save to.config - The configuration to save.
ConfigurationUpdateCollisionError - If the configuration being written is stale (i.e. has be updated in persistent store since it was read).public java.util.Collection<java.lang.String> getNamespaces()
getNamespaces in class AbstractConfigurationLoaderpublic void reset()
reset in class AbstractConfigurationLoaderpublic void purgeAllConfigurations()
NOTE: ALL CONFIGURATION INFORMATION WILL BE LOST!
purgeAllConfigurations in class AbstractConfigurationLoaderpublic void deleteConfigurationRepository()
purgeAllConfigurations() but also removes the
repository itself.NOTE: ALL CONFIGURATION INFORMATION WILL BE LOST!
deleteConfigurationRepository in class AbstractConfigurationLoaderpublic java.util.Collection<ConfigurationSummary> getNamespacesSummary()
ConfigurationSummary.
getNamespacesSummary in class AbstractConfigurationLoaderConfigurationSummarypublic java.util.Collection<ConfigurationSummary> getNamespacesHistorySummary(java.lang.String namespace)
getNamespacesHistorySummary in class AbstractConfigurationLoadernamespace - Namespace to get history for.
ConfigurationSummary
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||