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() |
refresh
public static DatabaseService getInstance()
public boolean refreshable()
refreshable
in class BaseService
public void doRefresh() throws ServiceException
doRefresh
in class BaseService
ServiceException
public void stop() throws ServiceException
stop
in class BaseService
ServiceException
public static java.lang.Object createObject(java.lang.String className) throws java.lang.Exception
className
- the fully qualified name of the class to instantiatejava.lang.Exception
public AbstractDatabase getDBAdapter()
Copyright © 2020 Regents of the University of California. All Rights Reserved.