1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.util.spring;
17
18 import org.kuali.common.util.execute.Executable;
19 import org.kuali.common.util.spring.config.annotation.Execute;
20 import org.springframework.beans.factory.annotation.Autowired;
21 import org.springframework.context.annotation.Configuration;
22 import org.springframework.context.annotation.Import;
23
24 @Configuration
25 @Import(HelloWorldConfig.class)
26 public class HelloWorldExecutableConfig {
27
28 @Autowired
29 HelloWorldConfig helloWorldConfig;
30
31 @Execute
32 protected Executable executable() {
33 return helloWorldConfig.helloWorldExecutable();
34 }
35
36 }