public class ClassServiceFileProcessor extends XmlConfigServiceLoader
caches, changeList, deleteList, fileObjects, fileResolver
DEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ClassServiceFileProcessor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkMatch(FileObject fileObject) |
ServiceProviderInterface |
getProvider() |
protected List<ServiceComponents> |
getServiceComponents() |
protected Object |
getServiceInstance(ServiceComponent component) |
protected void |
initService(List<String> classPaths) |
void |
process()
对文件进行处理
|
void |
setConfigPath(String path) |
void |
setProvider(ServiceProviderInterface provider) |
config, getApplicationConfig, getApplicationNodePath, getComponentConfig, getComponentConfigPath, loadService, registerServices, removeService, removeServiceComponents
add, clean, convertFromXml, delete, getFileResolver, getOrder, isMatch, modify, noChange, setFileResolver, supportRefresh
protected boolean checkMatch(FileObject fileObject)
checkMatch
in class AbstractFileProcessor
public void process()
FileProcessor
process
in interface FileProcessor
process
in class XmlConfigServiceLoader
protected void initService(List<String> classPaths) throws ServiceLoadException
ServiceLoadException
protected List<ServiceComponents> getServiceComponents()
getServiceComponents
in class XmlConfigServiceLoader
protected Object getServiceInstance(ServiceComponent component) throws ServiceLoadException
getServiceInstance
in class XmlConfigServiceLoader
ServiceLoadException
public ServiceProviderInterface getProvider()
public void setProvider(ServiceProviderInterface provider)
public void setConfigPath(String path)
Copyright © 2006–2018 TinyGroup. All rights reserved.