The Source for Java Technology Collaboration

As the new Java.net infrastructure contains project-level wikis, this main wiki will be shut down in the near future. For wiki page export and general wiki questions please contact the site admin at communitymanager@java.net.
The net.jxta.util.config.Configurator class can be used, by extension or invoked directy, to perform intial Peer configuration without invoking the Platform Config Tool.

By design, Configurator includes optimal defaults for an edge peer. As such, constructing a default JXTA configuration is trivial:

  try {
    new Configurator("MyPeer", "usr", "pwd").save();
  } catch (IllegalArgumentExcpetion iae) {
    ...
  } catch (IOException ioe) {
    ...
  }

Further, most Platform configuration options can configured through this class.

MyJXTA2 effectively extends Configurator and can be referenced as such.

-- JamesTodd - 08 Sep 2003

Topic UILessConfiguration . { Edit | Ref-By | Printable | Diffs r3 < r2 < r1 | More }
 XML java.net RSS

  

Revision r3 - 2003-09-17 - 07:35:21 - JamesTodd
Parents: WebHome