org.objectweb.jeremie.services.registry
Class JRMIRegistry
public class JRMIRegistry
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:
- using the getRegistry methods of the LocateRegistry class;
- using the Naming class which provides a URL-based syntax for
addressing a registry;
- using JNDI to address a registry.
java.rmi.registry.Registry
, Naming
, LocateRegistry
, org.objectweb.jeremie.services.registry.jndi
static void | main(String[] args) - Runs the registry.
|
main
public static void main(String[] args)
Runs the registry.
args
- options to the registry.