..
The aspect-oriented programming (Aspect-Oriented Programming, or, more briefly, AOP) is another way of seeing the design of software.
Instead of programming that is focused on the objects (Object-Oriented Programming - OOP), where the main element is the class, everything is based on the AOP aspect.
One aspect is a modularization of a cross-sectional report across multiple classes, ie a module that contains several classes that have a common interest (such as transaction management).
In addition there are other concepts to the aspect on which the AOP:
The advice can be of various types:
In Spring the joins are only supported point of the implementation of a method, then Spring AOP does not offer a complete implementation period, however, sufficient to solve the most common enterprise applications.
To implement the functionality of each target object is AOP Wrap in a proxy that exposes the same interfaces that the object implements.
By default we use the J2SE dynamic proxies, but allow only proxied interfaces or set of interfaces.
The proxies of CGLIB instead are used when an object does not implement interfaces, they can force the use in the rare cases where you have to create a pointcut on a method that is not exposed in the interface.
| |
Linux (Course)
Complete guide to open-source system. From 49 €. |
| |
PHP (Course)
Full course for creating dynamic Web sites. From 49 €. |
| |
Ruby and Ruby on Rails (Course)
Create software and Web applications with Ruby and RoR. From 39 €. |