org.objectweb.jonas.registry
Class RegistryManager

java.lang.Object
  |
  +--org.objectweb.jonas.registry.RegistryManager

public class RegistryManager
extends java.lang.Object

Registry Service implementation

Author:
Helene Joanin Contributor(s):

Method Summary
static RegistryManager getInstance()
           
 void start(boolean ignoreError)
          Start the Registry ie Invoke dynamically the LocateRegistry.createRegistry(port) method.
 void stop()
          Stop the Registry started by the start method ie Invoke dynamically the UnicastRemoteObject.unexportObject(Registry, true) method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RegistryManager getInstance()

start

public void start(boolean ignoreError)
           throws java.lang.Exception
Start the Registry ie Invoke dynamically the LocateRegistry.createRegistry(port) method. (The LocateRegistry class differs on RMI/JEREMIE).
Parameters:
ignoreError - if true, ignore error at the registry starting.

stop

public void stop()
          throws java.lang.Exception
Stop the Registry started by the start method ie Invoke dynamically the UnicastRemoteObject.unexportObject(Registry, true) method. (The UnicastRemoteObject class differs on RMI/JEREMIE).