public class XmlServiceFileProcessor extends XmlConfigClassServiceLoader implements FileProcessor
caches, changeList, deleteList, fileObjects, fileResolver
DEFAULT_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, setServiceIdGenerateRule
config, getApplicationConfig, getApplicationNodePath, getComponentConfig, getComponentConfigPath, loadService, removeService
add, clean, convertFromXml, delete, getFileResolver, getOrder, isMatch, modify, noChange, setFileResolver, supportRefresh
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, clean, delete, isMatch, modify, noChange, setFileResolver, supportRefresh
config, getApplicationConfig, getApplicationNodePath, getComponentConfig, getComponentConfigPath
protected boolean checkMatch(FileObject fileObject)
checkMatch
in class AbstractFileProcessor
public ServiceProviderInterface getProvider()
public void setProvider(ServiceProviderInterface provider)
public void process()
FileProcessor
process
in interface FileProcessor
process
in class XmlConfigServiceLoader
public void setConfigPath(String path)
setConfigPath
in interface ServiceLoader
protected List<ServiceComponents> getServiceComponents()
getServiceComponents
in class XmlConfigServiceLoader
protected Object getServiceInstance(ServiceComponent component) throws Exception
getServiceInstance
in class XmlConfigServiceLoader
Exception
Copyright © 2006–2018 TinyGroup. All rights reserved.