|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.common.util.config.service.AbstractCachingConfigService
public abstract class AbstractCachingConfigService
Constructor Summary | |
---|---|
AbstractCachingConfigService()
|
Method Summary | |
---|---|
protected abstract void |
clearCache()
|
protected ContextConfig |
findContextConfig(List<ContextConfig> contexts,
String contextId)
|
protected List<Location> |
findLocations(ProjectConfig request)
|
protected Properties |
getBaseFilterProperties()
|
protected abstract ProjectConfigContainer |
getCachedConfig(String groupId,
String artifactId)
|
protected abstract String |
getFilename()
|
protected String |
getFilteredContent(String location,
Properties properties,
String encoding)
|
protected Properties |
getFilterProperties(Project project)
|
protected List<Location> |
getLocations(List<ProjectConfig> configs)
|
protected String |
getMetadataConfigFilePath(Project project,
String filename)
|
protected abstract ProjectConfigContainer |
getProjectConfig(String content,
String encoding)
|
Properties |
getProperties(List<String> configIds)
Load and return properties corresponding to configIds . |
Properties |
getProperties(List<String> configIds,
Properties overrides)
Load and return properties corresponding to configIds , any properties from overrides "win" over properties loaded from the configuration. |
Properties |
getProperties(String configId)
Load and return properties corresponding to configId . |
Properties |
getProperties(String configId,
Properties overrides)
Load and return properties corresponding to configId , any properties from overrides "win" over properties loaded from the configuration. |
protected ProjectConfigContainer |
loadMetadata(String groupId,
String artifactId)
|
protected Properties |
loadProperties(List<ProjectConfig> requests,
Properties overrides)
|
protected void |
store(File file,
ProjectConfigContainer config)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCachingConfigService()
Method Detail |
---|
public Properties getProperties(String configId)
ConfigService
configId
.
org.kuali.common:kuali-sql org.kuali.common:kuali-util:scm org.kuali.common:kuali-util:metainf:mpx
getProperties
in interface ConfigService
public Properties getProperties(List<String> configIds)
ConfigService
configIds
.
org.kuali.common:kuali-sql org.kuali.common:kuali-util:scm org.kuali.common:kuali-util:metainf:mpx
getProperties
in interface ConfigService
public Properties getProperties(String configId, Properties overrides)
ConfigService
configId
, any properties from overrides
"win" over properties loaded from the configuration.
org.kuali.common:kuali-sql org.kuali.common:kuali-util:scm org.kuali.common:kuali-util:metainf:mpx
getProperties
in interface ConfigService
public Properties getProperties(List<String> configIds, Properties overrides)
ConfigService
configIds
, any properties from overrides
"win" over properties loaded from the configuration.
org.kuali.common:kuali-sql org.kuali.common:kuali-util:scm org.kuali.common:kuali-util:metainf:mpx
getProperties
in interface ConfigService
protected abstract ProjectConfigContainer getCachedConfig(String groupId, String artifactId)
protected abstract void clearCache()
protected abstract ProjectConfigContainer getProjectConfig(String content, String encoding)
protected abstract String getFilename()
protected Properties loadProperties(List<ProjectConfig> requests, Properties overrides)
protected Properties getBaseFilterProperties()
protected ProjectConfigContainer loadMetadata(String groupId, String artifactId)
protected List<Location> getLocations(List<ProjectConfig> configs)
protected List<Location> findLocations(ProjectConfig request)
protected ContextConfig findContextConfig(List<ContextConfig> contexts, String contextId)
protected String getMetadataConfigFilePath(Project project, String filename)
protected String getFilteredContent(String location, Properties properties, String encoding)
protected Properties getFilterProperties(Project project)
protected void store(File file, ProjectConfigContainer config)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |