org.kuali.maven.plugins.spring
Class DefaultSpringMojoService

java.lang.Object
  extended by org.kuali.maven.plugins.spring.DefaultSpringMojoService
All Implemented Interfaces:
SpringMojoService

@Service
public class DefaultSpringMojoService
extends Object
implements SpringMojoService


Constructor Summary
DefaultSpringMojoService()
           
 
Method Summary
protected  void addPropertySources(PropertySourcesContext ctx, AbstractSpringMojo mojo, org.kuali.common.util.service.SpringContext context)
           
 void executeCallback(LoadMojo mojo)
           
 void executeCallback(LoadXmlMojo mojo)
           
protected  String getDefaultAnnotatedClassname(org.apache.maven.project.MavenProject project)
           
protected  String getDefaultLocation(org.apache.maven.project.MavenProject project)
           
protected  Properties getInternalProperties(org.apache.maven.project.MavenProject project)
           
protected  LoadContext getLoadContext(AbstractSpringMojo mojo)
           
protected  Properties getMavenProperties(AbstractSpringMojo mojo)
           
protected  org.springframework.core.env.PropertiesPropertySource getMavenPropertySource(AbstractSpringMojo mojo)
           
protected  List<org.springframework.core.env.PropertySource<?>> getPropertySources(PropertySourcesContext ctx)
           
protected  List<org.springframework.core.env.PropertySource<?>> getPropertySources(org.kuali.common.util.service.SpringService service, Class<?> annotatedClass, String mavenPropertiesBeanName, Properties mavenProperties)
           
protected  List<org.springframework.core.env.PropertySource<?>> getPropertySources(org.kuali.common.util.service.SpringService service, String location, String mavenPropertiesBeanName, Properties mavenProperties)
           
protected  PropertySourcesContext getPropertySourcesContext(LoadMojo mojo, LoadContext context)
           
protected  PropertySourcesContext getPropertySourcesContext(LoadXmlMojo mojo, LoadContext context)
           
protected  org.kuali.common.util.service.SpringContext getSpringContext(LoadMojo mojo, Properties mavenProperties)
           
protected  org.kuali.common.util.service.SpringContext getSpringContext(LoadXmlMojo mojo, Properties mavenProperties)
           
 void loadSpring(AbstractSpringMojo mojo)
           
protected  void logConfiguration(AbstractSpringMojo mojo, Properties props, List<?> configurations)
           
protected  void nullSafeSet(Properties properties, String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSpringMojoService

public DefaultSpringMojoService()
Method Detail

loadSpring

public void loadSpring(AbstractSpringMojo mojo)
Specified by:
loadSpring in interface SpringMojoService

executeCallback

public void executeCallback(LoadMojo mojo)
Specified by:
executeCallback in interface SpringMojoService

addPropertySources

protected void addPropertySources(PropertySourcesContext ctx,
                                  AbstractSpringMojo mojo,
                                  org.kuali.common.util.service.SpringContext context)

getPropertySourcesContext

protected PropertySourcesContext getPropertySourcesContext(LoadXmlMojo mojo,
                                                           LoadContext context)

getPropertySourcesContext

protected PropertySourcesContext getPropertySourcesContext(LoadMojo mojo,
                                                           LoadContext context)

executeCallback

public void executeCallback(LoadXmlMojo mojo)
Specified by:
executeCallback in interface SpringMojoService

getPropertySources

protected List<org.springframework.core.env.PropertySource<?>> getPropertySources(PropertySourcesContext ctx)

getPropertySources

protected List<org.springframework.core.env.PropertySource<?>> getPropertySources(org.kuali.common.util.service.SpringService service,
                                                                                  Class<?> annotatedClass,
                                                                                  String mavenPropertiesBeanName,
                                                                                  Properties mavenProperties)

getPropertySources

protected List<org.springframework.core.env.PropertySource<?>> getPropertySources(org.kuali.common.util.service.SpringService service,
                                                                                  String location,
                                                                                  String mavenPropertiesBeanName,
                                                                                  Properties mavenProperties)

getSpringContext

protected org.kuali.common.util.service.SpringContext getSpringContext(LoadMojo mojo,
                                                                       Properties mavenProperties)

getSpringContext

protected org.kuali.common.util.service.SpringContext getSpringContext(LoadXmlMojo mojo,
                                                                       Properties mavenProperties)

logConfiguration

protected void logConfiguration(AbstractSpringMojo mojo,
                                Properties props,
                                List<?> configurations)

getMavenProperties

protected Properties getMavenProperties(AbstractSpringMojo mojo)

getMavenPropertySource

protected org.springframework.core.env.PropertiesPropertySource getMavenPropertySource(AbstractSpringMojo mojo)

getDefaultLocation

protected String getDefaultLocation(org.apache.maven.project.MavenProject project)

getDefaultAnnotatedClassname

protected String getDefaultAnnotatedClassname(org.apache.maven.project.MavenProject project)

getInternalProperties

protected Properties getInternalProperties(org.apache.maven.project.MavenProject project)

nullSafeSet

protected void nullSafeSet(Properties properties,
                           String key,
                           String value)

getLoadContext

protected LoadContext getLoadContext(AbstractSpringMojo mojo)


Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.