Package org.apache.dubbo.rpc.model
Class ModuleModel
java.lang.Object
org.apache.dubbo.rpc.model.ScopeModel
org.apache.dubbo.rpc.model.ModuleModel
- All Implemented Interfaces:
ExtensionAccessor
Model of a service module
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClassLoader(ClassLoader classLoader) booleanGet current model's environment.registerInternalConsumer(Class<?> internalService, URL url) voidsetDeployer(ModuleDeployer deployer) voidsetLifeCycleManagedExternally(boolean lifeCycleManagedExternally) voidsetModuleEnvironment(ModuleEnvironment moduleEnvironment) Deprecated.Methods inherited from class org.apache.dubbo.rpc.model.ScopeModel
addClassLoaderListener, addDestroyListener, destroy, getAttribute, getAttribute, getAttributes, getBeanFactory, getClassLoaders, getDesc, getExtensionDirector, getInternalId, getModelEnvironment, getModelName, getParent, getScope, isDestroyed, isInternal, removeClassLoader, setAttribute, setModelName, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.dubbo.common.extension.ExtensionAccessor
getAdaptiveExtension, getDefaultExtension, getExtension, getExtensionLoader
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
getApplicationModel
-
getServiceRepository
-
addClassLoader
- Overrides:
addClassLoaderin classScopeModel
-
modelEnvironment
Description copied from class:ScopeModelGet current model's environment. Note: This method should not start with `get` or it would be invoked due to Spring boot refresh.- Specified by:
modelEnvironmentin classScopeModel- See Also:
-
getConfigManager
-
getDeployer
-
setDeployer
-
setModuleEnvironment
Deprecated.for ut only -
registerInternalConsumer
-
isLifeCycleManagedExternally
public boolean isLifeCycleManagedExternally() -
setLifeCycleManagedExternally
public void setLifeCycleManagedExternally(boolean lifeCycleManagedExternally)
-