org.objectweb.jeremie.services.registry

Class 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:
java.rmi.registry.Registry, Naming, LocateRegistry, org.objectweb.jeremie.services.registry.jndi

Method Summary

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

Method Details

main

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

Parameters:
args - options to the registry.