org.apache.avalon.excalibur.naming.rmi.server
Class Main

java.lang.Object
  |
  +--org.apache.avalon.excalibur.naming.rmi.server.Main
All Implemented Interfaces:
java.lang.Runnable

public class Main
extends java.lang.Object
implements java.lang.Runnable

This is a simple test name server and should NOT be used in a production system.


Field Summary
protected  boolean m_debug
           
protected  boolean m_initialized
           
protected  boolean m_running
           
protected  RMINamingProviderImpl m_server
           
protected  java.net.ServerSocket m_serverSocket
           
protected  java.rmi.MarshalledObject m_serverStub
           
 
Constructor Summary
Main()
           
 
Method Summary
 void accept()
           
 void dispose()
           
 void export()
           
 void init()
           
static void main(java.lang.String[] args)
           
 void run()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_debug

protected boolean m_debug

m_server

protected RMINamingProviderImpl m_server

m_serverSocket

protected java.net.ServerSocket m_serverSocket

m_serverStub

protected java.rmi.MarshalledObject m_serverStub

m_running

protected boolean m_running

m_initialized

protected boolean m_initialized
Constructor Detail

Main

public Main()
Method Detail

main

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

init

public void init()
          throws java.lang.Exception

start

public void start()
           throws java.lang.Exception

export

public void export()
            throws java.lang.Exception

dispose

public void dispose()
             throws java.lang.Exception

stop

public void stop()
          throws java.lang.Exception

accept

public void accept()

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.