org.openejb.server
Class ServiceManager

java.lang.Object
  extended byorg.openejb.server.ServiceManager

public class ServiceManager
extends Object

This is the base class for orcistrating the other daemons which actually accept and react to calls coming in from different protocols or channels. To perform this task, this class will newInstance() init( port, properties) start() stop()


Method Summary
static ServiceManager getManager()
           
static String getRequiredProperty(String name, Properties props)
           
 void init()
           
 void printRow(String col1, String col2, String col3)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getManager

public static ServiceManager getManager()

init

public void init()
          throws Exception
Throws:
Exception

start

public void start()
           throws ServiceException
Throws:
ServiceException

stop

public void stop()
          throws ServiceException
Throws:
ServiceException

printRow

public void printRow(String col1,
                     String col2,
                     String col3)

getRequiredProperty

public static String getRequiredProperty(String name,
                                         Properties props)
                                  throws ServiceException
Throws:
ServiceException


Copyright © 1999-2005 OpenEJB. All Rights Reserved.