public class XmlServiceFileProcessor extends XmlConfigClassServiceLoader implements FileProcessor
caches, changeList, deleteList, fileObjects, fileResolverDEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
XmlServiceFileProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkMatch(FileObject fileObject) |
ServiceProviderInterface |
getProvider() |
protected List<ServiceComponents> |
getServiceComponents() |
protected Object |
getServiceInstance(ServiceComponent component) |
void |
process()
对文件进行处理
|
void |
setConfigPath(String path) |
void |
setProvider(ServiceProviderInterface provider) |
getServiceIdGenerateRule, registerServices, removeServiceComponents, setServiceIdGenerateRuleconfig, getApplicationConfig, getApplicationNodePath, getComponentConfig, getComponentConfigPath, loadService, removeServiceadd, clean, convertFromXml, delete, getFileResolver, getOrder, isMatch, modify, noChange, setFileResolver, supportRefreshclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, clean, delete, isMatch, modify, noChange, setFileResolver, supportRefreshconfig, getApplicationConfig, getApplicationNodePath, getComponentConfig, getComponentConfigPathprotected boolean checkMatch(FileObject fileObject)
checkMatch in class AbstractFileProcessorpublic ServiceProviderInterface getProvider()
public void setProvider(ServiceProviderInterface provider)
public void process()
FileProcessorprocess in interface FileProcessorprocess in class XmlConfigServiceLoaderpublic void setConfigPath(String path)
setConfigPath in interface ServiceLoaderprotected List<ServiceComponents> getServiceComponents()
getServiceComponents in class XmlConfigServiceLoaderprotected Object getServiceInstance(ServiceComponent component) throws Exception
getServiceInstance in class XmlConfigServiceLoaderExceptionCopyright © 2006–2018 TinyGroup. All rights reserved.