public class XmlSysServiceFileProcessor extends XmlConfigClassServiceLoader implements FileProcessor
caches, changeList, deleteList, fileObjects, fileResolverDEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
XmlSysServiceFileProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkMatch(FileObject fileObject) |
ServiceProviderInterface |
getProvider() |
ServiceRegistry |
getReg() |
protected List<ServiceComponents> |
getServiceComponents() |
protected Object |
getServiceInstance(ServiceComponent component) |
void |
process()
对文件进行处理
|
void |
setConfigPath(String path) |
void |
setProvider(ServiceProviderInterface provider) |
void |
setReg(ServiceRegistry reg) |
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, getComponentConfigPathpublic ServiceProviderInterface getProvider()
public void setProvider(ServiceProviderInterface provider)
public ServiceRegistry getReg()
public void setReg(ServiceRegistry reg)
protected boolean checkMatch(FileObject fileObject)
checkMatch in class AbstractFileProcessorpublic 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.