Implementation method of Autofac-based service manager supporting demand loading
A technology of service manager and implementation method, which is applied in the field of service managers that support on-demand loading based on Autofac, can solve problems such as post-downloading, cannot use decoupling framework, etc., to avoid performance problems, be easy to promote, and have strong practicability. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example
[0056] Example: The system provides an internationalized language service interface, and function A needs to call the method of this interface.
[0057] First define the service interface-implementation class configuration, the autofac configuration in App.Config is as follows:
[0058]
[0059]
[0060]
[0061]
[0062]
[0063] <component type="Inspur.GSP.Gsf.I18N.Framework.RemoteClient.LanguageService,Inspur.GSP.Gsf.I18N.Framework.RemoteClient"
[0064] instance-scope="SINGLE-INSTANCE" service="Inspur.GSP.Gsf.I18N.Framework.Api.ILanguageService,Inspur.GSP.Gsf.I18N.Framework.Api" / >
[0065]
[0066] Then dynamic registration and analysis, the main steps of dynamic registration and analysis are as follows:
[0067] Step 1: When the service manager loads for the first time, load all configuration items into memory.
[0068] / / /
[0069] / / / Read the registration information according to the autofac configuration section
[0070] / ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com