public class HSQLDBServer extends Object implements org.springframework.context.SmartLifecycle
| Modifier and Type | Field and Description |
|---|---|
protected HSQLDBProperties |
autoProps |
protected org.hsqldb.persist.HsqlProperties |
properties |
protected boolean |
running |
protected org.hsqldb.Server |
server |
| Constructor and Description |
|---|
HSQLDBServer(Properties props,
HSQLDBProperties autoProps) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
start() |
void |
startDB() |
void |
stop() |
void |
stop(Runnable runnable) |
protected org.hsqldb.persist.HsqlProperties properties
protected HSQLDBProperties autoProps
protected org.hsqldb.Server server
protected boolean running
public HSQLDBServer(Properties props, HSQLDBProperties autoProps)
public boolean isRunning()
isRunning in interface org.springframework.context.Lifecyclepublic void startDB()
public void start()
start in interface org.springframework.context.Lifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclepublic int getPhase()
getPhase in interface org.springframework.context.Phasedpublic boolean isAutoStartup()
isAutoStartup in interface org.springframework.context.SmartLifecyclepublic void stop(Runnable runnable)
stop in interface org.springframework.context.SmartLifecycleCopyright © 2017. All rights reserved.