Routing management optimization method based on JFinal framework
An optimization method and routing technology, applied in the field of routing management optimization based on the JFinal architecture, can solve problems such as unfavorable development process management, and achieve the effect of standardizing the development process and management
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0014] The technical solution of the present invention is further described below.
[0015] A kind of routing management optimization method based on JFinal framework of the present invention, comprises the following steps:
[0016] S1. Define an interface annotation ControllerBind for each Controller interface, and define a unique name for each Controller interface as the path of the routing request;
[0017] S2. Obtain all the routes of the project by name, and put all the obtained routes into a collection;
[0018] S3. Bind the routes in the collection to the model database through the interface annotation ControllerBind;
[0019] S4. According to the interface annotation ConrollerBind returned by the getAnnotation method, get the String returned by viewPath() to determine whether to add a route. If the String contains the name of the Controller interface, add the interface annotation ControllerBind corresponding to the Controller interface, otherwise do not add it.
[00...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


