edu.uci.isr.yancees.server.rmi
Class RMIRegistryImpl

java.lang.Object
  extended by java.lang.Thread
      extended by edu.uci.isr.yancees.server.rmi.RMIRegistryImpl
All Implemented Interfaces:
java.lang.Runnable

public class RMIRegistryImpl
extends java.lang.Thread

Author:
rsilvafi@ics.uci.edu

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RMIRegistryImpl()
           
 
Method Summary
 boolean isAvailable()
           
 void kill()
          Kills current rmiregistry.
static void main(java.lang.String[] args)
          Starts this program as a separate process using the command line.
 void run()
          Main thread method.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RMIRegistryImpl

public RMIRegistryImpl()
Method Detail

isAvailable

public boolean isAvailable()

run

public void run()
Main thread method. Keeps the rmi registry running unkill a kill command is posted.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

kill

public void kill()
Kills current rmiregistry.


main

public static void main(java.lang.String[] args)
Starts this program as a separate process using the command line.

Parameters:
args -