Project JXTA

net.jxta.ext.config
Class TrivialConfigurator

java.lang.Object
  extended by net.jxta.ext.config.Configurator
      extended by net.jxta.ext.config.TrivialConfigurator
All Implemented Interfaces:
Externalizable, Serializable, PlatformConfigurator, Configurator

Deprecated. in preference of AbstractConfigurator

public class TrivialConfigurator
extends Configurator
implements PlatformConfigurator

A Platform Configurator that uses the ext:config package to provide persistence and reconfiguration capability.

See Also:
Serialized Form

Constructor Summary
TrivialConfigurator()
          Deprecated.  
 
Method Summary
 ConfigParams load()
          Deprecated. 
 PlatformConfig load(File f)
          Deprecated. Persist the associated{ @link net.jxta.impl.protocol.PlatformConfig} to the specified location.
 
Methods inherited from class net.jxta.ext.config.Configurator
addOptimizer, addOptimizers, addRelay, addRelays, addRendezVous, addRendezVous, addTransport, addTransports, clearOptimizers, clearRelays, clearRendezVous, clearTransports, fetchBootstrapAddresses, getConfigParams, getDescription, getDescriptor, getEndpointOutgoingQueueSize, getHome, getJXTAHome, getLocalHost, getName, getOptimizers, getPassword, getPeerId, getPeerProxyAddress, getPlatformConfig, getPrincipal, getReflectionBootstrapAddress, getRelayIncomingLease, getRelayIncomingMaximum, getRelayOutgoingLease, getRelayOutgoingMaximum, getRelayQueueSize, getRelays, getRelaysBootstrapAddress, getRelaysDiscovery, getRendezVous, getRendezVousAutoStart, getRendezVousBootstrapAddress, getRootCertificate, getRootCertificateAddress, getRootCertificateBase64, getTrace, getTransports, isProxy, isReconfigure, isRelay, isRelayIncoming, isRelayOutgoing, isRelaysDiscovery, isRendezVous, isRendezVousAutoStart, isRendezVousDiscovery, isSecurity, readExternal, removeOptimizer, removeRelay, removeRendezVous, removeTransport, save, save, setConfigParams, setConfigurator, setDescription, setDescriptor, setEndpointOutgoingQueueSize, setHome, setName, setPeerId, setPeerProxyAddress, setPlatformConfig, setProxy, setReconfigure, setReflectionBootstrapAddress, setRelay, setRelay, setRelayDiscovery, setRelayIncoming, setRelayIncomingLease, setRelayIncomingMaximum, setRelayOutgoing, setRelayOutgoingLease, setRelayOutgoingMaximum, setRelayQueueSize, setRelays, setRelaysBootstrapAddress, setRelaysDiscovery, setRendezVous, setRendezVous, setRendezVous, setRendezVousAutoStart, setRendezVousAutoStart, setRendezVousBootstrapAddress, setRendezVousDiscovery, setRootCertificate, setRootCertificateAddress, setRootCertificateBase64, setSecurity, setSecurity, setTrace, setTransport, setTransports, toAllAddresses, transportsContainsScheme, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.jxta.impl.peergroup.PlatformConfigurator
getJXTAHome, getPlatformConfig, isReconfigure, save, setPlatformConfig, setReconfigure
 
Methods inherited from interface net.jxta.peergroup.Configurator
getConfigParams, save, setConfigParams
 

Constructor Detail

TrivialConfigurator

public TrivialConfigurator()
Deprecated. 
Method Detail

load

public PlatformConfig load(File f)
                    throws ConfiguratorException
Deprecated. 
Description copied from class: Configurator
Persist the associated{ @link net.jxta.impl.protocol.PlatformConfig} to the specified location.

Specified by:
load in interface PlatformConfigurator
Overrides:
load in class Configurator
Parameters:
f - The file to which the configuration will be saved.
Returns:
true if the configuration was successfully saved otherwise false. If the parameters are not persisted then false/code> is returned.
Throws:
ConfiguratorException

load

public ConfigParams load()
                  throws ConfiguratorException
Deprecated. 
Description copied from class: Configurator

Specified by:
load in interface Configurator
Overrides:
load in class Configurator
Throws:
ConfiguratorException

JXTA J2SE