public class ServiceService
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_FILE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static ServiceService |
getInstance(javax.servlet.ServletContext servletContext)
Get the single instance of ServiceService.
|
static java.lang.String |
getRealApplicationContext()
Get the servlet context name
|
static java.lang.String |
getRealConfigDir()
Convert the relative config directory to a full path
|
static java.lang.String |
getRealSkinDir()
Convert the relative skins directory to a full path
|
static void |
refreshService(java.lang.String serviceName)
Refresh a service.
|
static void |
registerService(java.lang.String serviceName,
BaseService service)
Register a service with the system.
|
static void |
stopAllServices() |
public static ServiceService getInstance(javax.servlet.ServletContext servletContext)
public static void registerService(java.lang.String serviceName,
BaseService service)
throws ServiceException
serviceName - the name of the serviceservice - the singleton instance of the serviceServiceExceptionpublic static void refreshService(java.lang.String serviceName)
throws ServiceException
serviceName - the name of the service to refreshServiceExceptionpublic static void stopAllServices()
public static java.lang.String getRealConfigDir()
throws ServiceException
ServiceExceptionpublic static java.lang.String getRealSkinDir()
throws ServiceException
ServiceExceptionpublic static java.lang.String getRealApplicationContext()
throws ServiceException
ServiceExceptionCopyright © 2020 Regents of the University of California. All Rights Reserved.