jgroup.relacs.config
Class BootstrapRegistryConfig

java.lang.Object
  extended by jgroup.relacs.config.BootstrapRegistryConfig
All Implemented Interfaces:
ConfigurationObject

public class BootstrapRegistryConfig
extends java.lang.Object
implements ConfigurationObject

Class for holding bootstrap registry information.

Since:
Jgroup 1.1
Author:
Hein Meling, Alberto Montresor

Constructor Summary
BootstrapRegistryConfig()
          Builds a new BootstrapRegistryConfig object, using default values.
BootstrapRegistryConfig(int port)
          Builds a new BootstrapRegistryConfig object, using the specified port.
 
Method Summary
 int getPort()
          Returns the port number for the bootstrap registry service.
 void parse(org.w3c.dom.Element elm)
          Parses the specified element.
 java.lang.String toString()
          Returns a string representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BootstrapRegistryConfig

public BootstrapRegistryConfig()
Builds a new BootstrapRegistryConfig object, using default values.


BootstrapRegistryConfig

public BootstrapRegistryConfig(int port)
Builds a new BootstrapRegistryConfig object, using the specified port.

Parameters:
port - bootstrap registry port
Method Detail

parse

public void parse(org.w3c.dom.Element elm)
           throws ConfigurationException
Parses the specified element.

Specified by:
parse in interface ConfigurationObject
Throws:
ConfigurationException

getPort

public int getPort()
Returns the port number for the bootstrap registry service.


toString

public java.lang.String toString()
Returns a string representation of this object

Overrides:
toString in class java.lang.Object


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.