public final class DatabaseServiceAppImpl extends ServiceAppImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
DATABASE_DATA_DIR_PROPERTY
Specifies the database directory path.
|
static String |
DEFAULT_DATABASE_DATA_DIR
Default database directory path.
|
static String |
SERVER_PROPERTIES
Server properties.
|
static String |
SUPPORT_CLASS_PROPERTY
Support class property.
|
static String |
SUPPORT_PROPERTIES
Support properties.
|
SERVICE_APP_PROPERTIES| Constructor and Description |
|---|
DatabaseServiceAppImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
setUp(Service service)
Sets up the application.
|
void |
start()
Starts the application.
|
void |
stop()
Stops the application.
|
void |
tearDown()
Tears down the application.
|
createStats, fail, getConfig, getConfigProperties, getDataDir, getJoinTimeout, getProperties, getService, getSourceUUID, getThisLogger, getTimer, onAlert, onEvent, onServiceNotAvailableException, onServicesNotReady, onServicesReady, onSignalpublic static final String DATABASE_DATA_DIR_PROPERTY
public static final String DEFAULT_DATABASE_DATA_DIR
public static final String SERVER_PROPERTIES
public static final String SUPPORT_CLASS_PROPERTY
public static final String SUPPORT_PROPERTIES
public boolean setUp(Service service)
Overidden as needed.
Called by the framework and by overriding classes at the beginning of the override.
setUp in interface ServiceAppsetUp in class ServiceAppImplservice - The service holding this application.public void start()
Overidden as needed by the application.
Called by the framework.
Should return only when the application is started.
start in interface ServiceAppstart in class ServiceAppImplpublic void stop()
Overidden as needed by the application.
Called by the framework.
stop in interface ServiceAppstop in class ServiceAppImplpublic void tearDown()
Overidden as needed by the application.
Called by the framework and by overriding classes at the end of the override.
tearDown in interface ServiceApptearDown in class ServiceAppImplCopyright © 2003-2019 Serge Brisson. All Rights Reserved.