public class DatabaseService extends BaseService
_serviceName| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
createObject(java.lang.String className)
Instantiate a class using the name of the class at runtime
|
void |
doRefresh() |
AbstractDatabase |
getDBAdapter()
gets the database adapter
|
static DatabaseService |
getInstance()
Get the single instance of DatabaseService.
|
boolean |
refreshable() |
void |
stop() |
refreshpublic static DatabaseService getInstance()
public boolean refreshable()
refreshable in class BaseServicepublic void doRefresh()
throws ServiceException
doRefresh in class BaseServiceServiceExceptionpublic void stop()
throws ServiceException
stop in class BaseServiceServiceExceptionpublic static java.lang.Object createObject(java.lang.String className)
throws java.lang.Exception
className - the fully qualified name of the class to instantiatejava.lang.Exceptionpublic AbstractDatabase getDBAdapter()
Copyright © 2020 Regents of the University of California. All Rights Reserved.