public abstract class XmlConfigServiceLoader extends AbstractFileProcessor implements ServiceLoader, org.tinygroup.config.Configuration
caches, changeList, deleteList, fileObjects, fileResolver| Constructor and Description |
|---|
XmlConfigServiceLoader() |
| Modifier and Type | Method and Description |
|---|---|
void |
config(org.tinygroup.xmlparser.node.XmlNode applicationConfig,
org.tinygroup.xmlparser.node.XmlNode componentConfig) |
org.tinygroup.xmlparser.node.XmlNode |
getApplicationConfig() |
String |
getApplicationNodePath() |
org.tinygroup.xmlparser.node.XmlNode |
getComponentConfig() |
String |
getComponentConfigPath() |
protected abstract List<ServiceComponents> |
getServiceComponents() |
protected abstract Object |
getServiceInstance(ServiceComponent serviceComponent) |
void |
loadService(ServiceRegistry serviceRegistry,
ClassLoader classLoader)
载入服务
|
void |
process() |
void |
removeService(ServiceRegistry serviceRegistry,
ClassLoader classLoader) |
void |
removeServiceComponents(ServiceRegistry serviceRegistry,
ServiceComponents serviceComponents) |
add, checkMatch, clean, convertFromXml, delete, getFileResolver, getOrder, isMatch, modify, noChange, setFileResolver, supportRefreshclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConfigPathpublic void loadService(ServiceRegistry serviceRegistry, ClassLoader classLoader) throws ServiceLoadException
loadService in interface ServiceLoaderServiceLoadExceptionpublic void removeService(ServiceRegistry serviceRegistry, ClassLoader classLoader)
removeService in interface ServiceLoaderpublic void removeServiceComponents(ServiceRegistry serviceRegistry, ServiceComponents serviceComponents)
protected abstract List<ServiceComponents> getServiceComponents()
protected abstract Object getServiceInstance(ServiceComponent serviceComponent) throws Exception
Exceptionpublic String getApplicationNodePath()
getApplicationNodePath in interface org.tinygroup.config.ConfigurationgetApplicationNodePath in class AbstractFileProcessorpublic String getComponentConfigPath()
getComponentConfigPath in interface org.tinygroup.config.ConfigurationgetComponentConfigPath in class AbstractFileProcessorpublic void config(org.tinygroup.xmlparser.node.XmlNode applicationConfig,
org.tinygroup.xmlparser.node.XmlNode componentConfig)
config in interface org.tinygroup.config.Configurationconfig in class AbstractFileProcessorpublic org.tinygroup.xmlparser.node.XmlNode getComponentConfig()
getComponentConfig in interface org.tinygroup.config.ConfigurationgetComponentConfig in class AbstractFileProcessorpublic org.tinygroup.xmlparser.node.XmlNode getApplicationConfig()
getApplicationConfig in interface org.tinygroup.config.ConfigurationgetApplicationConfig in class AbstractFileProcessorpublic void process()
process in interface FileProcessorCopyright © 2006–2017 TinyGroup. All rights reserved.