|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
NetworkConfigurator
.
@Deprecated public interface Configurator
A configurator is responsible for the persistence and validation of configuration parameters.
Method Summary | |
---|---|
ConfigParams |
getConfigParams()
Deprecated. Retrieve the parameters associated with this configuration from the default location. |
ConfigParams |
load()
Deprecated. Loading of existing configuration is best accomplished by use of specific constructors of the implementing configurator. This method complicates the state management of configuration parameters and may have unpredictable results depending upon the constructor and configuration set methods used prior to it's execution. |
boolean |
save()
Deprecated. Persist the parameters associated with this configuration to the standard location. |
void |
setConfigParams(ConfigParams cp)
Deprecated. Configuration parameters should be set individually via whatever interfaces implementing configurator provides. This method over-writes all configuration settings in an unpredictable way. |
Method Detail |
---|
ConfigParams getConfigParams() throws ConfiguratorException
ConfiguratorException
- If there was a failure in retrieving the
parameters. This is normally a chained exception to the underlying
cause.@Deprecated void setConfigParams(ConfigParams cp)
cp
- The parameters to be associated with this configuration.@Deprecated ConfigParams load() throws ConfiguratorException
ConfiguratorException
- If there was a failure in retrieving the
persisted parameters. This is normally a chained exception to the
underlying cause.boolean save() throws ConfiguratorException
true
if the configuration was successfully saved
otherwise false
. If the parameters are not persisted then
false/code> is returned.
- Throws:
ConfiguratorException
- If there was a failure in persisting the
parameters. This is normally a chained exception to the underlying
cause.
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |