@groovy.transform.CompileStatic class EmbeddedDatabaseShutdownHook extends java.lang.Object implements org.springframework.context.SmartLifecycle, org.springframework.context.ApplicationContextAware
Modifiers | Name | Description |
---|---|---|
private org.springframework.context.ApplicationContext |
applicationContext |
|
private java.util.List<java.lang.String> |
embeddedDatabaseBeanNames |
|
private static org.apache.commons.logging.Log |
log |
|
private boolean |
running |
Constructor and description |
---|
EmbeddedDatabaseShutdownHook
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.Object |
addShutdownOperation(java.sql.Connection connection) |
|
int |
getPhase() |
|
boolean |
isAutoStartup() |
|
protected boolean |
isEmbeddedH2orHsqldb(javax.sql.DataSource dataSource) |
|
boolean |
isRunning() |
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
|
protected java.lang.Object |
shutdownEmbeddedDatabase(javax.sql.DataSource dataSource) |
|
void |
start() |
|
void |
stop() |
|
void |
stop(java.lang.Runnable callback) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |