railo.runtime.services
Class ServiceSupport

java.lang.Object
  extended by railo.runtime.services.ServiceSupport
All Implemented Interfaces:
Service
Direct Known Subclasses:
DataSourceServiceImpl

public class ServiceSupport
extends Object
implements Service


Field Summary
 
Fields inherited from interface coldfusion.server.Service
STARTED, STARTING, STOOPED, STOPPING, UNINITALIZED
 
Constructor Summary
ServiceSupport()
           
 
Method Summary
 ServiceMetaData getMetaData()
           
 Object getProperty(String key)
           
 Map getResourceBundle()
           
 int getStatus()
           
 void restart()
           
 void setProperty(String key, Object value)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceSupport

public ServiceSupport()
Method Detail

start

public void start()
           throws ServiceException
Specified by:
start in interface Service
Throws:
ServiceException

stop

public void stop()
          throws ServiceException
Specified by:
stop in interface Service
Throws:
ServiceException

restart

public void restart()
             throws ServiceException
Specified by:
restart in interface Service
Throws:
ServiceException

getStatus

public int getStatus()
Specified by:
getStatus in interface Service

getMetaData

public ServiceMetaData getMetaData()
Specified by:
getMetaData in interface Service

getProperty

public Object getProperty(String key)
Specified by:
getProperty in interface Service

setProperty

public void setProperty(String key,
                        Object value)
Specified by:
setProperty in interface Service

getResourceBundle

public Map getResourceBundle()
Specified by:
getResourceBundle in interface Service


Copyright © 2012 Railo