Method and device for calling software module
A software module and interface calling technology, applied in the computer field, can solve the problems caused by indetermination and unidentifiable recipients
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] In this embodiment, the way for the extender to connect to the extension point is to obtain the extension center interface, and register the extender's own interface in the list of extension interfaces to be attached to the extension point.
[0031] The following uses the "main panel" in the instant messaging tool as the extender, and the "contact management module" as the extension point carrier. The method described in the first embodiment of the method by the extender is used to connect the extension point and the extension point carrier is called through the extension point interface. The specific method of the extender.
[0032] Figure 1 is a flowchart of the method for hooking the extension point of "Contact Information Change" on the "Main Panel". As shown in Figure 1, the method specifically includes:
[0033] Step 101, the "main panel" acquires the expansion center interface.
[0034] Step 102, the "main panel" obtains the extension point interface.
[0035] In this ste...
Embodiment 2
[0048] In this embodiment, the way for the extender to connect to the extension point is as follows: the extender obtains the extension center interface, and registers the component information of the extender to the extender provider to be connected to the extension point.
[0049] The following uses the "marketing management module" in the instant messaging tool as the extender, and the "system message management module" as the extension point carrier. The method described in the second embodiment of the method used by the extender to connect the extension point and the extension point carrier through the extension point interface Call the specific method of the extender.
[0050] Figure 3 is a flowchart of the method for "marketing management module" to hook up the extension point of "system message event". As shown in Figure 3, the method specifically includes:
[0051] Step 301, the "marketing management module" sets its own component information.
[0052] In this step, the "mark...
Embodiment 3
[0065] In this embodiment, the way for the extender to hook up the extension point includes both the method described in Method Embodiment 1 and the method described in Method Embodiment 2. At this time, each extension point interface corresponds to an extender agent, and the extender The agent stores an extender interface list and an extender provider list.
[0066] The following describes the specific method for the extension point carrier to invoke the extender in the third method embodiment.
[0067] Fig. 5 is a flowchart of a method for invoking an extender by an extension point carrier in method embodiment 3. As shown in Fig. 5, the method specifically includes:
[0068] Step 501: The extension point carrier obtains an extension center interface.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 