001 package edu.calpoly.records.spring; 002 003 import org.kuali.common.util.execute.Executable; 004 import org.kuali.common.util.execute.PrintMessageExecutable; 005 import org.springframework.beans.factory.annotation.Autowired; 006 import org.springframework.context.annotation.Bean; 007 import org.springframework.context.annotation.Configuration; 008 import org.springframework.context.annotation.Import; 009 010 @Configuration 011 @Import({ PrintMavenMessageConfig.class, PrintNotMavenMessage.class }) 012 public class PowerWebappConfig { 013 014 @Autowired 015 PrintMessageExecutable printMessageExecutable; 016 017 @Bean(initMethod = "execute") 018 public Executable executablesExecutable() { 019 return printMessageExecutable; 020 } 021 }