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)
           
static void setUpServerService(org.apache.geronimo.kernel.Kernel kernel, String type, String host, int port, Class serviceClass)
           
 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 org.activeio.xnet.ServiceException
Throws:
org.activeio.xnet.ServiceException

stop

public void stop()
          throws org.activeio.xnet.ServiceException
Throws:
org.activeio.xnet.ServiceException

printRow

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

getRequiredProperty

public static String getRequiredProperty(String name,
                                         Properties props)
                                  throws org.activeio.xnet.ServiceException
Throws:
org.activeio.xnet.ServiceException

setUpServerService

public static void setUpServerService(org.apache.geronimo.kernel.Kernel kernel,
                                      String type,
                                      String host,
                                      int port,
                                      Class serviceClass)
                               throws Exception
Throws:
Exception


Copyright © 1999-2006 OpenEJB. All Rights Reserved.