Package org.apache.dubbo.rpc.model
Interface ScopeModelAware
- All Known Subinterfaces:
FrameworkStatusReporter
- All Known Implementing Classes:
AdaptiveCompiler,EnvironmentAdapter,FrameworkStatusReportService,ScopeBeanExtensionInjector
public interface ScopeModelAware
An interface to inject FrameworkModel/ApplicationModel/ModuleModel for SPI extensions and internal beans.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidsetApplicationModel(ApplicationModel applicationModel) Override this method if you just need application modeldefault voidsetFrameworkModel(FrameworkModel frameworkModel) Override this method if you just need framework modeldefault voidsetModuleModel(ModuleModel moduleModel) Override this method if you just need module modeldefault voidsetScopeModel(ScopeModel scopeModel) Override this method if you need get the scope model (maybe one of FrameworkModel/ApplicationModel/ModuleModel).
-
Method Details
-
setScopeModel
Override this method if you need get the scope model (maybe one of FrameworkModel/ApplicationModel/ModuleModel).- Parameters:
scopeModel-
-
setFrameworkModel
Override this method if you just need framework model- Parameters:
frameworkModel-
-
setApplicationModel
Override this method if you just need application model- Parameters:
applicationModel-
-
setModuleModel
Override this method if you just need module model- Parameters:
moduleModel-
-