|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the methods exposed by the ComponentProxy
that deal
with the manipulation of a components configuration. Implementations of
this interface need to support the notion of live vs. working
configurations. Live configurations contain the settings that are
currently in use by a component. Working configurations contain the
settings that are in an intermediate and potentially invalid state.
Working configurations become live configurations when applyConfiguration
is called. They are thrown away when revertConfiguration is called.
Copyright 2002 Sapient
Method Summary | |
void |
applyConfiguration()
Makes the current working configuration live. |
ComponentConfiguration |
getLiveConfiguration()
Gets snapshot of the live copy of the component's configuration |
ComponentConfiguration |
getWorkingConfiguration()
Gets snapshot of the working copy of the component's configuration |
void |
persistConfiguration()
Persists the current live configuration in the Config Service. |
void |
refreshConfiguration()
Same as revertConfiguration, but the configuration node containing this component's configuration is refreshed first. |
void |
revertConfiguration()
Reverts the components live configuration back to its state as of the last call to persistConfiguration or the loading of the component if persistConfiguration was never called. |
Method Detail |
public void revertConfiguration()
public void applyConfiguration()
public void persistConfiguration() throws ConfigurationException
ConfigurationException
- indictes an error persisting
the configurationpublic ComponentConfiguration getWorkingConfiguration()
public ComponentConfiguration getLiveConfiguration()
public void refreshConfiguration()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |