|
Project JXTA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PlatformConfigurator
Defines a configurator for the JXTA Platform peer group.
| Method Summary | |
|---|---|
URI |
getJXTAHome()
|
PlatformConfig |
getPlatformConfig()
Retrieve the associated PlatformConfig and
potentially reconfigure the parameters before returning. |
boolean |
isReconfigure()
Determine if a forced reconfiguration is set for the next call to getPlatformConfig(). |
PlatformConfig |
load(File f)
Deprecated. Sub-classes should devise their own, more appropriate method. |
boolean |
save(File f)
Deprecated. Sub-classes should devise their own, more appropriate method. |
void |
setPlatformConfig(PlatformConfig pc)
Sets the associated PlatformConfig. |
void |
setReconfigure(boolean forceReconfig)
Sets the reconfiguration status to the specified status. |
| Methods inherited from interface net.jxta.peergroup.Configurator |
|---|
getConfigParams, load, save, setConfigParams |
| Method Detail |
|---|
URI getJXTAHome()
PlatformConfig getPlatformConfig()
throws ConfiguratorException
PlatformConfig and
potentially reconfigure the parameters before returning.
ConfiguratorExceptionvoid setPlatformConfig(PlatformConfig pc)
PlatformConfig.
pc -
PlatformConfig load(File f)
throws ConfiguratorException
location.
f - The file to which the configuration will be saved.
true if the configuration was successfully saved
otherwise false. If the parameters are not persisted then
false/code> is returned.
- Throws:
ConfiguratorException
boolean save(File f)
throws ConfiguratorException
location.
f - The file to which the configuration will be saved.
true if the configuration was successfully saved
otherwise false. If the parameters are not persisted then
false/code> is returned.
- Throws:
ConfiguratorExceptionvoid setReconfigure(boolean forceReconfig)
true then reconfiguration will be forced the next time the
PlatformConfig is retrieved.
forceReconfig - If true then a forced reconfiguration
will occur the next time getPlatformConfig() is called.boolean isReconfigure()
getPlatformConfig().
true if a forced reconfiguration
will occur the next time getPlatformConfig() is called.
|
JXTA J2SE | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||