org.kuali.common.util.config.spring
Class ProjectPropertySourceConfig

java.lang.Object
  extended by org.kuali.common.util.config.spring.BasicPropertySourceConfig
      extended by org.kuali.common.util.config.spring.ProjectPropertySourceConfig

Deprecated.

@Configuration
@Deprecated
public class ProjectPropertySourceConfig
extends BasicPropertySourceConfig

You can use this configuration transparently between the Maven CLI and a normal runtime by injecting projectId into your context. When running from the Maven CLI, projectId is ignored because project properties are pre-injected into the context by spring-maven-plugin. When running in a normal runtime, projectId is used to load a project.properties file. Project Id's are in this format:

   org.kuali.common:kuali-util
 


Field Summary
static String PROJECT_ID_BEAN_NAME
          Deprecated.  
 
Constructor Summary
ProjectPropertySourceConfig()
          Deprecated.  
 
Method Summary
protected  Properties getOverrides()
          Deprecated.  Returns an empty properties object by default.
 
Methods inherited from class org.kuali.common.util.config.spring.BasicPropertySourceConfig
getConfigIds, getPropertySource, springPropertySource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROJECT_ID_BEAN_NAME

public static final String PROJECT_ID_BEAN_NAME
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

ProjectPropertySourceConfig

public ProjectPropertySourceConfig()
Deprecated. 
Method Detail

getOverrides

protected Properties getOverrides()
Deprecated. 
Description copied from class: BasicPropertySourceConfig

Returns an empty properties object by default. Override this method to inject properties that will override anything loaded from other locations

Overrides:
getOverrides in class BasicPropertySourceConfig


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