public class FullContextFileFinder extends AbstractFileProcessor implements Configuration
applicationConfig, caches, changeList, componentConfig, deleteList, fileObjects, fileResolver, LOGGERDEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
FullContextFileFinder() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkMatch(FileObject fileObject) |
void |
config(XmlNode applicationConfig,
XmlNode componentConfig)
设置配置信息,应用配置和组件配置内容合并
|
String |
getApplicationNodePath()
获取在application.xml中配置对象的相对路径
|
String |
getComponentConfigPath()
返回该配置对象组件配置的相对路径,相对于classpath的路径。
|
FullContextFileRepository |
getFullContextFileRepository() |
void |
process()
对文件进行处理
|
void |
setExcludeContextFileFinder(ExcludeContextFileFinder excludeContextFileFinder) |
void |
setExtFileContentTypeMap(Map<String,String> extFileContentTypeMap) |
void |
setFullContextFileRepository(FullContextFileRepository fullContextFileRepository) |
add, clean, convertFromXml, delete, getApplicationConfig, getComponentConfig, getFileResolver, getOrder, isMatch, modify, noChange, setFileResolver, supportRefreshclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplicationConfig, getComponentConfigpublic FullContextFileRepository getFullContextFileRepository()
public void setFullContextFileRepository(FullContextFileRepository fullContextFileRepository)
public void setExtFileContentTypeMap(Map<String,String> extFileContentTypeMap)
public void setExcludeContextFileFinder(ExcludeContextFileFinder excludeContextFileFinder)
protected boolean checkMatch(FileObject fileObject)
checkMatch in class AbstractFileProcessorpublic void process()
FileProcessorprocess in interface FileProcessorpublic void config(XmlNode applicationConfig, XmlNode componentConfig)
Configurationconfig in interface Configurationconfig in class AbstractFileProcessorapplicationConfig - 应用配置节点componentConfig - 组件配置节点public String getApplicationNodePath()
ConfigurationgetApplicationNodePath in interface ConfigurationgetApplicationNodePath in class AbstractFileProcessorpublic String getComponentConfigPath()
ConfigurationgetComponentConfigPath in interface ConfigurationgetComponentConfigPath in class AbstractFileProcessorCopyright © 2006–2018 TinyGroup. All rights reserved.