org.norther.tammi.spray.remote
Class RMIRegistry

java.lang.Object
  extended by org.norther.tammi.spray.remote.RMIRegistry

public abstract class RMIRegistry
extends Object

A static RMI registry.

Version:
$Id: RMIRegistry.java,v 1.6 2009/09/28 15:08:31 cvsimp Exp $
Author:
Ilkka Priha

Constructor Summary
RMIRegistry()
           
 
Method Summary
static void rebindService(String service, Remote provider, int port)
          Rebinds a new service.
static void unbindService(String service, int port)
          Unbinds an existing service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIRegistry

public RMIRegistry()
Method Detail

rebindService

public static void rebindService(String service,
                                 Remote provider,
                                 int port)
                          throws AccessException,
                                 RemoteException
Rebinds a new service.

Parameters:
service - the name of the service.
provider - the provider of the service.
port - the port of the service.
Throws:
AccessException - on access errors.
RemoteException - on remote errors.

unbindService

public static void unbindService(String service,
                                 int port)
Unbinds an existing service.

Parameters:
service - the name of the service.
port - the port of the service.


Copyright © 2004 The Norther Organization. All rights reserved.