org.apache.openejb.server
Class ServiceManager

java.lang.Object
  extended by org.apache.openejb.server.ServiceManager
Direct Known Subclasses:
ServiceManagerExtender, SimpleServiceManager

public abstract class ServiceManager
extends java.lang.Object

Version:
$Rev: 1021961 $ $Date: 2010-10-13 02:30:48 +0200 (Mi, 13. Okt 2010) $

Constructor Summary
ServiceManager()
           
 
Method Summary
static ServiceManager get()
           
static ServiceManager getManager()
           
abstract  void init()
           
protected  ServerService initServer(java.lang.String serviceName, java.util.Properties serviceProperties)
           
protected  java.util.List<ServerService> initServers(java.util.Map<java.lang.String,java.util.Properties> availableServices)
           
protected static void setServiceManager(ServiceManager newManager)
           
 void start()
           
abstract  void start(boolean block)
           
abstract  void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceManager

public ServiceManager()
Method Detail

getManager

public static ServiceManager getManager()

get

public static ServiceManager get()

setServiceManager

protected static void setServiceManager(ServiceManager newManager)

initServers

protected java.util.List<ServerService> initServers(java.util.Map<java.lang.String,java.util.Properties> availableServices)
                                             throws java.io.IOException
Throws:
java.io.IOException

initServer

protected ServerService initServer(java.lang.String serviceName,
                                   java.util.Properties serviceProperties)
                            throws java.io.IOException
Throws:
java.io.IOException

init

public abstract void init()
                   throws java.lang.Exception
Throws:
java.lang.Exception

start

public void start()
           throws ServiceException
Throws:
ServiceException

start

public abstract void start(boolean block)
                    throws ServiceException
Throws:
ServiceException

stop

public abstract void stop()
                   throws ServiceException
Throws:
ServiceException


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.