@Configuration
@Import(value={org.kuali.common.util.project.spring.AutowiredProjectConfig.class,org.kuali.common.util.metainf.spring.MetaInfExecutableConfig.class,org.kuali.common.util.spring.service.SpringServiceConfig.class})
public class RiceSqlConfig
extends Object
implements org.kuali.common.util.metainf.spring.MetaInfContextsConfig
| Constructor and Description |
|---|
RiceSqlConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<org.kuali.common.util.metainf.spring.MetaInfGroup,String> |
getDefaultExcludes(Map<org.kuali.common.util.metainf.spring.MetaInfGroup,String> defaultIncludes)
Generates the default mapping of excluded paths from the
defaultIncludes map. |
protected Map<org.kuali.common.util.metainf.spring.MetaInfGroup,String> |
getDefaultIncludes(String qualifier,
String vendor,
org.kuali.common.util.metainf.spring.MetaInfDataLocation location,
org.kuali.common.util.metainf.spring.MetaInfDataType type)
Generates the default mapping of included paths from the given
qualifier, vendor, and
type. |
protected List<org.kuali.common.util.metainf.model.MetaInfContext> |
getMetaInfContexts(org.kuali.common.util.metainf.spring.MetaInfGroup group,
String qualifier,
String vendor,
org.kuali.common.util.metainf.spring.MetaInfDataLocation location,
org.kuali.common.util.metainf.spring.MetaInfDataType type)
Creates a list of META-INF contexts for the given
group, qualifier, vendor,
location, and type. |
List<org.kuali.common.util.metainf.model.MetaInfContext> |
metaInfContexts() |
public RiceSqlConfig()
@Bean public List<org.kuali.common.util.metainf.model.MetaInfContext> metaInfContexts()
All of the initial data (the data included in the MetaInfGroup.SCHEMA, MetaInfGroup.CONSTRAINTS,
or MetaInfGroup.DATA groups) needs to be added before the update data (the data included in the
MetaInfGroup.OTHER group).
metaInfContexts in interface org.kuali.common.util.metainf.spring.MetaInfContextsConfigprotected List<org.kuali.common.util.metainf.model.MetaInfContext> getMetaInfContexts(org.kuali.common.util.metainf.spring.MetaInfGroup group, String qualifier, String vendor, org.kuali.common.util.metainf.spring.MetaInfDataLocation location, org.kuali.common.util.metainf.spring.MetaInfDataType type)
group, qualifier, vendor,
location, and type.group - the group of the data to create the context forqualifier - the prefix to add to the initial resource pathvendor - the database vendor to create the context forlocation - the location of the data to create the context fortype - the type of data to create the context forprotected Map<org.kuali.common.util.metainf.spring.MetaInfGroup,String> getDefaultIncludes(String qualifier, String vendor, org.kuali.common.util.metainf.spring.MetaInfDataLocation location, org.kuali.common.util.metainf.spring.MetaInfDataType type)
qualifier, vendor, and
type.qualifier - the prefix to add to the initial resource pathvendor - the database vendor to includelocation - the location of the data to includetype - the type of data to includeprotected Map<org.kuali.common.util.metainf.spring.MetaInfGroup,String> getDefaultExcludes(Map<org.kuali.common.util.metainf.spring.MetaInfGroup,String> defaultIncludes)
defaultIncludes map.
Generally, nothing is excluded, but there is a special case with MetaInfGroup.DATA where it does not
include either the MetaInfGroup.SCHEMA or MetaInfGroup.CONSTRAINTS.
defaultIncludes - the map of included pathsCopyright © 2005–2016 The Kuali Foundation. All rights reserved.