View Javadoc

1   package edu.calpoly.records.spring;
2   
3   import org.kuali.common.util.execute.Executable;
4   import org.kuali.common.util.execute.PrintMessageExecutable;
5   import org.springframework.beans.factory.annotation.Autowired;
6   import org.springframework.context.annotation.Bean;
7   import org.springframework.context.annotation.Configuration;
8   import org.springframework.context.annotation.Import;
9   
10  @Configuration
11  @Import({ PrintMavenMessageConfig.class, PrintNotMavenMessage.class })
12  public class PowerWebappConfig {
13  
14  	@Autowired
15  	PrintMessageExecutable printMessageExecutable;
16  
17  	@Bean(initMethod = "execute")
18  	public Executable executablesExecutable() {
19  		return printMessageExecutable;
20  	}
21  }