iiitAccessServer 1.0

de.iiit.access.server.plugins.server
Class RMIRegistry

java.lang.Object
  |
  +--de.iiit.access.server.plugins.server.RMIRegistry
All Implemented Interfaces:
AccessServerPluginIf, ThreadPluginIf

public class RMIRegistry
extends Object
implements ThreadPluginIf

Implements a RMI server for requesting the AccessServer

Version:
$Revision: 1.7 $ $Date: 2003/04/13 21:14:56 $

Constructor Summary
RMIRegistry()
          Creates a new instance of RmiServer
 
Method Summary
 void initialize(Configuration config)
          Initializes the server
 void shutdown()
          This method is called by the AccessServer when the background threads should stop because of a shutdown of the AccessServer itself.
 void start()
          This method is called by the AccessServer when the background thread should start.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIRegistry

public RMIRegistry()
            throws RemoteException
Creates a new instance of RmiServer

Throws:
RemoteException - when anything goes wrong
Method Detail

initialize

public void initialize(Configuration config)
Initializes the server

Specified by:
initialize in interface AccessServerPluginIf
Parameters:
config - the configuration of the server. Currently the only parameter is Port which defines the port number to listen on for connections. Default is 1234

shutdown

public void shutdown()
This method is called by the AccessServer when the background threads should stop because of a shutdown of the AccessServer itself.

Specified by:
shutdown in interface ThreadPluginIf

start

public void start()
This method is called by the AccessServer when the background thread should start. It is called after the method initialize() is called for all plug-ins.

Specified by:
start in interface ThreadPluginIf

iiitAccessServer 1.0

Copyright © 2002, 2003 ingeneurbuero fuer innovative informationstechnik, Dipl.-Ing. Joerg Beckmann, Dortmund, Germany. All Rights Reserved.
See Copyright statement