mandala.jacob.remote.rmi
Class RegistryCreator

java.lang.Object
  extended bymandala.jacob.remote.rmi.RegistryCreator

public class RegistryCreator
extends java.lang.Object

Registry creator.

Version:
$Revision: 1.3 $
Author:
eipi
See Also:
LocateRegistry

Field Summary
static Syslog syslog
           
 
Constructor Summary
RegistryCreator()
           
 
Method Summary
static java.lang.String createRegistry()
          Creates a registry on the Registry.REGISTRY_PORT.
static java.lang.String createRegistry(int port)
          Creates a registry on the specified port.
static void main(java.lang.String[] args)
          Creates a registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

syslog

public static final Syslog syslog
Constructor Detail

RegistryCreator

public RegistryCreator()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Throwable

Creates a registry.

Note that when no port is specified in args, the registry is created on the the Registry.REGISTRY_PORT.

Throws:
java.lang.Throwable
See Also:
Registry

createRegistry

public static java.lang.String createRegistry()
                                       throws java.lang.Throwable

Creates a registry on the Registry.REGISTRY_PORT.

Returns:
a String value
Throws:
java.lang.Throwable - if an error occurs
See Also:
Registry

createRegistry

public static java.lang.String createRegistry(int port)
                                       throws java.lang.Throwable

Creates a registry on the specified port.

Parameters:
port - an int value
Returns:
the url where objects must be binded
Throws:
java.lang.Exception - if an error occurs
java.lang.Throwable


Mandala help mailing list