Project JXTA

net.jxta.impl.peergroup
Class DefaultConfigurator

java.lang.Object
  extended bynet.jxta.impl.peergroup.NullConfigurator
      extended bynet.jxta.impl.peergroup.DefaultConfigurator
All Implemented Interfaces:
Configurator, PlatformConfigurator

public class DefaultConfigurator
extends NullConfigurator

The default platform configurator. This implementation provides the ability to reconfigure the the Platform peer group via an AWT based dialog. This is the original JXTA configuration mechanism.

See Also:
Configurator

Nested Class Summary
 
Nested classes inherited from class net.jxta.impl.peergroup.NullConfigurator
NullConfigurator.ProxyAuthenticator
 
Field Summary
 
Fields inherited from class net.jxta.impl.peergroup.NullConfigurator
advertisement, configFile, CONFIGFILENAME, jxtaHomeDir, propertiesFile, PROPERTIESFILENAME
 
Constructor Summary
DefaultConfigurator()
          Configures the platform using the default directory.
DefaultConfigurator(File homeDir)
          Configures the platform using the specified directory.
 
Method Summary
 PlatformConfig getPlatformConfig()
          
 boolean isReconfigure()
          
 void setReconfigure(boolean reconfigure)
          
 
Methods inherited from class net.jxta.impl.peergroup.NullConfigurator
adjustLog4JPriority, getConfigParams, getJXTAHome, load, load, save, save, setConfigParams, setPlatformConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConfigurator

public DefaultConfigurator()
                    throws ConfiguratorException
Configures the platform using the default directory.


DefaultConfigurator

public DefaultConfigurator(File homeDir)
                    throws ConfiguratorException
Configures the platform using the specified directory.

Method Detail

getPlatformConfig

public PlatformConfig getPlatformConfig()
                                 throws ConfiguratorException

Specified by:
getPlatformConfig in interface PlatformConfigurator
Overrides:
getPlatformConfig in class NullConfigurator
Throws:
ConfiguratorException

setReconfigure

public void setReconfigure(boolean reconfigure)

Specified by:
setReconfigure in interface PlatformConfigurator
Overrides:
setReconfigure in class NullConfigurator

isReconfigure

public boolean isReconfigure()

Specified by:
isReconfigure in interface PlatformConfigurator
Overrides:
isReconfigure in class NullConfigurator

JXTA J2SE