Method and interceptor system facing to tangent plane programming

A facet-oriented and interceptor-oriented technology, applied in the field of computer system development, can solve problems such as few functions, inability to implement method interception, poor practicability, etc., and achieve the effects of good practicability, easy maintenance, and clear decomposition
CN101276271AInactive Publication Date: 2008-10-01BEIJING UNIV OF POSTS & TELECOMM

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
BEIJING UNIV OF POSTS & TELECOMM
Publication Date
2008-10-01
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The present invention provides an interceptor system of an aspect oriented programming and its method, including mounting an interceptor interface operated under Struts frame, realizing the interceptor class based on the interface; configuring a configuration file structure of the interceptor, and configuring the interceptor in the interceptor configuration file to the corresponding execution path; reading the configuration file when Struts starts initialization, analyzing the interceptor configured in the configuration file, and processing initialization; when the client accesses the network, the server terminal acquires the interceptor when calling Struts Action class or DispatchAction class accordind to the path, executing the corresponding interceptor method, realizing the interception of the aspect Oriented programming under Struts frame. The interception of the class and the interception of the realizing method of each class have excellent practicality.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of computer system development, in particular to the field of computer J2EE enterprise-level application system development, in particular to an interceptor system and method for aspect-oriented programming (AOP) under Struts. Background technique

[0002] J2EE, Java2 Platform Enterprise Edition (Java 2 Platform Enterprise Edition), is a standard software system development platform launched by Sun for enterprise-level applications. With the development of Java technology, the J2EE platform has developed rapidly and has become one of the most active systems in the Java language. Nowadays, J2EE not only refers to a standard platform (Platform), but also expresses a software system architecture and software system programming method.

[0003] J2EE enterprise-level Web application development system frameworks include Struts, Webwork, JSF, Tapestry and other development frameworks.

[0004] Among them, the Struts syste...

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