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
mysqldConfiguration. Amysqldprocess is started if themysqld.homeapplication property is set. In addition, a port must be specified with themysqld.portproperty.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()
-
-