@Configuration @EnableConfigurationProperties(value=DomainH2ServerProperties.class) public class DomainH2ServerConfig extends Object implements org.springframework.beans.factory.DisposableBean
| 构造器和说明 |
|---|
DomainH2ServerConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
org.h2.tools.Server |
krprojectOceanH2TcpServer()
TCP connection to connect with SQL clients to the embedded h2 database.
|
org.h2.tools.Server |
krprojectOceanH2WebServer()
Web console for the embedded h2 database.
|
@Bean
@ConditionalOnMissingBean(name="krprojectOceanH2TcpServer")
@ConditionalOnProperty(prefix="krproject.ocean.domain.h2",
name="tcp-enabled",
matchIfMissing=false)
public org.h2.tools.Server krprojectOceanH2TcpServer()
throws SQLException
SQLException - SQLException@Bean
@ConditionalOnMissingBean(name="krprojectOceanH2WebServer")
@ConditionalOnProperty(prefix="krproject.ocean.domain.h2",
name="web-enabled",
matchIfMissing=false)
public org.h2.tools.Server krprojectOceanH2WebServer()
throws SQLException
SQLException - SQLExceptionCopyright © 2021 KRProject. All rights reserved.