org.sapia.ubik.rmi.naming.remote
Class JNDIServer

java.lang.Object
  extended by org.sapia.ubik.rmi.naming.remote.JNDIServer

public class JNDIServer
extends java.lang.Object

This class implements a JNDIServer by exporting a root javax.naming.Context as a remote object. It has the following characteristics:

To benefit from these features, clients must connect to this server by using a RemoteInitialContextFactory.

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site
See Also:
JNDIServer, RemoteInitialContextFactory

Nested Class Summary
static class JNDIServer.ShutdownHook
           
 
Constructor Summary
JNDIServer()
           
 
Method Summary
static void main(java.lang.String[] args)
          Starts this server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNDIServer

public JNDIServer()
Method Detail

main

public static void main(java.lang.String[] args)
Starts this server. The port on which the server must listen, as well as its domain, can be specified. The default value for each of these arguments is - respectively - 1099 and and "default".

The multicast address and port on which this JNDI server listens - and through which it sends notifications - can be specified through system properties. The latter are:

If not specified, the following are used for multicast address and port, respectively:



Copyright © 2010 Sapia OSS. All Rights Reserved.