public abstract class XmlConfigClassServiceLoader extends XmlConfigServiceLoader
caches, changeList, deleteList, fileObjects, fileResolver
DEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
XmlConfigClassServiceLoader() |
Modifier and Type | Method and Description |
---|---|
ServiceIdGenerateRule |
getServiceIdGenerateRule() |
protected void |
registerServices(Object instance,
ServiceComponent component,
ServiceRegistry serviceRegistry,
ClassLoader classLoader)
注册服务
|
void |
removeServiceComponents(ServiceRegistry serviceRegistry,
ServiceComponents serviceComponents) |
void |
setServiceIdGenerateRule(ServiceIdGenerateRule serviceIdGenerateRule) |
config, getApplicationConfig, getApplicationNodePath, getComponentConfig, getComponentConfigPath, getServiceComponents, getServiceInstance, loadService, process, removeService
add, checkMatch, clean, convertFromXml, delete, getFileResolver, getOrder, isMatch, modify, noChange, setFileResolver, supportRefresh
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConfigPath
public ServiceIdGenerateRule getServiceIdGenerateRule()
public void setServiceIdGenerateRule(ServiceIdGenerateRule serviceIdGenerateRule)
protected void registerServices(Object instance, ServiceComponent component, ServiceRegistry serviceRegistry, ClassLoader classLoader) throws ClassNotFoundException, ServiceLoadException
XmlConfigServiceLoader
registerServices
in class XmlConfigServiceLoader
ClassNotFoundException
ServiceLoadException
public void removeServiceComponents(ServiceRegistry serviceRegistry, ServiceComponents serviceComponents)
removeServiceComponents
in class XmlConfigServiceLoader
Copyright © 2006–2018 TinyGroup. All rights reserved.