Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for realizing Java small-application plug board function

A technology of plug-in function and implementation method, applied in the direction of program control device, etc., can solve the problem of high rewriting cost and achieve the effect of large scalability

Inactive Publication Date: 2005-07-20
INVENTEC CORP
View PDF0 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But the cost of rewriting is too high, unless the system structure needs to be changed, a more economical way is to add a new module according to the new needs of the enterprise, which is beneficial to both the enterprise and the developer

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
  • Method for realizing Java small-application plug board function
  • Method for realizing Java small-application plug board function
  • Method for realizing Java small-application plug board function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] see figure 1 , is a flowchart of a method for realizing the plug-in function under the Java applet of the present invention. The method first specifies a specific plug-in directory to store all plug-in modules (step 101); then the system class loader traverses the plug-in directory to search for plug-in configuration files during initialization (step 102); parses the plug-in properties according to the configuration file And build this plug-in menu item (step 103) in system menu; Capture the event (step 104) that the user clicks this menu item; This class loader obtains the type of this plug-in (step 105) according to the attribute of this plug-in; The plug-in type responds to user click events (step 106).

[0050] Wherein, when the plug-in type is an application program, please refer to the response step (step 106) figure 2 , it first searches the corresponding class in the plug-in directory (step 201); then constructs an instance of the class according to the class...

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 relates to a method of realizing plug function under Java small application program. First, a plug catalog to store plug module is assigned; second, plug configuration file would be searched during initialization of system loader; analyzing the plug attribute and building the plug menu selection in the system menu; when catching user click menu, loader would response the affair according to the type of plug. The invention brings great expandability.

Description

technical field [0001] The invention relates to a method for realizing plug-in functions, in particular to a method for realizing plug-in functions under Java applets. Background technique [0002] Plug-in (Plug-in), the English original meaning refers to the power plug, in the software field, especially in the browser, refers to some extension applets. Strict plug-ins (Plug-In) can be seen by everyone, such as various plug-ins related to browsers, which are used to display files in different formats and play different multimedia. Another example is the various plug-ins in PhotoShop, which are obviously also used to implement some auxiliary functions. The most popular function of plug-in is to make the application more flexible. You can freely add new plug-ins to the application or uninstall the existing plug-ins, and the application does not need to be recompiled and connected. [0003] The Java language can write two types of programs: applications (Application) and smal...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 刘文涵陈玄同李海军
Owner INVENTEC CORP