Supercharge Your Innovation With Domain-Expert AI Agents!

Service registering configuration method and system based on JAVA reflection technology

A service registration and configuration method technology, applied in the computer field, can solve problems such as unfavorable program modularization, increased difficulty of system maintenance and migration deployment, and low system development efficiency, so as to improve development efficiency, reduce association coupling, reduce The effect of relevance

Inactive Publication Date: 2014-01-29
ZHUHAI XUJIZHI ELECTRIFIED WIRE NETING AUTOMATIONCO +3
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the current system interface method has a high degree of correlation between service implementation and service invocation, and a large number of interface definition specifications and environments need to be introduced during service implementation. The system development efficiency is low, and system maintenance and migration deployment are increased. Difficulty and is not conducive to the modularization of the program

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Service registering configuration method and system based on JAVA reflection technology
  • Service registering configuration method and system based on JAVA reflection technology
  • Service registering configuration method and system based on JAVA reflection technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] refer to figure 1 , a service registration configuration method based on JAVA reflection technology, including:

[0039] A. Register the service component on the calling service;

[0040] B. Call the service to load the registration information of the service component;

[0041] C. Call service According to the registration information and service requirements of the service components, call the corresponding service components through the JAVA reflection mechanism, so as to obtain and process the corresponding service data.

[0042] Among them, the acquisition and processing of the corresponding service data is mainly for configuring the calling methods of the service methods and service components.

[0043] As a further preferred embodiment, the registration information of the service master includes service component name, service class name, service method name, input parameter type and output parameter type.

[0044] refer to figure 2 , further as a preferred ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a service registering configuration method and system based on a JAVA reflection technology. The method includes that service assemblies are registered on called service, the called service loads registering information of the service assemblies, and the called service calls corresponding service assemblies through a JAVA reflection mechanism according to the registering information and service requirements of the service assemblies to acquire and process corresponding service data. The method is based on the JAVA reflection mechanism, the calling mode between a service method and the service assemblies can be configured flexibly, and system interface correlation coupling degree is reduced. Meanwhile, the traditional method that interface definition between service calling and service calling is cared is not required during service achievement, introduction of a large amount of interface definition specification and environment is avoided, system development efficiency is improved, system maintenance and movement arrangement difficulty is reduced, and program modularization is facilitated. The method and system can be widely applied to the technical field of computers.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a service registration configuration method and system based on JAVA reflection technology. Background technique [0002] In the running state, for any class, you can know all the properties and methods of this class; for any object, you can call any of its methods and properties; The function is called the reflection mechanism of the JAVA language, referred to as the JAVA reflection mechanism. [0003] In a system, between service implementation and service invocation, the invocation is usually implemented through the interface definition: the service method implements the defined interface, and the service caller can invoke the interface method through the defined interface specification. This mode is a commonly used system interface method, which requires strict definition, and both the service caller and the service implementer need to explicitly introduce the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/44G06F9/48
Inventor 苏宏勋施振华巴根那丁晓东郭路山
Owner ZHUHAI XUJIZHI ELECTRIFIED WIRE NETING AUTOMATIONCO
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More