|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucsb.nceas.metacat.service.ServiceService
public class ServiceService
| Field Summary | |
|---|---|
static java.lang.String |
CONFIG_FILE_NAME
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CONFIG_FILE_NAME
| Method Detail |
|---|
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 service
ServiceException
public static void refreshService(java.lang.String serviceName)
throws ServiceException
serviceName - the name of the service to refresh
ServiceExceptionpublic static void stopAllServices()
public static java.lang.String getRealConfigDir()
throws ServiceException
ServiceException
public static java.lang.String getRealSkinDir()
throws ServiceException
ServiceException
public static java.lang.String getRealApplicationContext()
throws ServiceException
ServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||