public class HSQLDBServer extends Object implements org.springframework.context.SmartLifecycle
| Modifier and Type | Field and Description |
|---|---|
protected org.hsqldb.persist.HsqlProperties |
props |
protected org.hsqldb.Server |
server |
protected Thread |
serverThread |
| Constructor and Description |
|---|
HSQLDBServer(HSQLDBProperties autoProps,
org.springframework.core.env.Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearState(HSQLDBProperties autoProps,
org.springframework.core.env.Environment environment) |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
start() |
void |
stop() |
void |
stop(Runnable runnable) |
protected org.hsqldb.persist.HsqlProperties props
protected org.hsqldb.Server server
protected Thread serverThread
public HSQLDBServer(HSQLDBProperties autoProps, org.springframework.core.env.Environment environment)
public boolean isRunning()
isRunning in interface org.springframework.context.Lifecyclepublic 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.PhasedgetPhase in interface org.springframework.context.SmartLifecyclepublic boolean isAutoStartup()
isAutoStartup in interface org.springframework.context.SmartLifecyclepublic void stop(Runnable runnable)
stop in interface org.springframework.context.SmartLifecycleprotected void clearState(HSQLDBProperties autoProps, org.springframework.core.env.Environment environment)
Copyright © 2022. All rights reserved.