org.objectweb.jeremie.services.registry
Class JRMIRegistry

java.lang.Object
  extended by org.objectweb.jeremie.services.registry.JRMIRegistry

public class JRMIRegistry
extends Object

The Jeremie registry: implements a simple naming service with a flat naming syntax whereby a non-empty string (name) is associated with a reference to a remote object.

Usage: java org.objectweb.jeremie.services.registry.JRMIRegistry
[-help] | [-v | -verbose] [portnumber]

The optional port number indicates a specific port number for accessing the registry. If not specified, the port defaults to the value defined under the name "/jeremie/registry/default_port" in the bootstrap configuration. If the value is not set, the port used is 12340.

A registry can be accessed by applications in a number of ways:

  1. using the getRegistry methods of the LocateRegistry class;
  2. using the Naming class which provides a URL-based syntax for addressing a registry;
  3. using JNDI to address a registry.

    See Also:
    Registry, Naming, LocateRegistry, org.objectweb.jeremie.services.registry.jndi

    Method Summary
    static void main(String[] args)
              Runs the registry.
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Method Detail

    main

    public static void main(String[] args)
    Runs the registry.

    Parameters:
    args - options to the registry.