Package ball.spring.mysqld
Class MysqldConfiguration
- java.lang.Object
-
- ball.spring.mysqld.MysqldConfiguration
-
@Configuration @EnableScheduling @ConditionalOnProperty(name="mysqld.home", havingValue="") public class MysqldConfiguration extends Object
mysqld
Configuration
. Amysqld
process is started if themysqld.home
application property is set. In addition, a port must be specified with themysqld.port
property.Injected Field Summary
- Author:
- Allen D. Ball
-
-
Constructor Summary
Constructors Constructor Description MysqldConfiguration()
-
-
-
Constructor Detail
-
MysqldConfiguration
public MysqldConfiguration()
-
-
Method Detail
-
init
@PostConstruct public void init()
-
mysqld
@Bean public Process mysqld() throws IOException
- Throws:
IOException
-
destroy
@PreDestroy public void destroy()
-
-