1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.deploy.spring;
17
18 import org.kuali.common.deploy.spring.DefaultDeployConfig;
19 import org.kuali.common.util.execute.Executable;
20 import org.kuali.common.util.execute.spring.ExecutableConfig;
21 import org.kuali.rice.sql.spring.SourceSqlConfig;
22 import org.springframework.beans.factory.annotation.Autowired;
23 import org.springframework.context.annotation.Bean;
24 import org.springframework.context.annotation.Configuration;
25 import org.springframework.context.annotation.Import;
26
27 @Configuration
28 @Import({ DefaultDeployConfig.class, SourceSqlConfig.class })
29 public class DeployConfig implements ExecutableConfig {
30
31 @Autowired
32 DefaultDeployConfig config;
33
34 @Override
35 @Bean(initMethod = "execute")
36 public Executable executable() {
37 return config.deployExecutable();
38 }
39
40 }