in Technology by (1.9m points)
How to achieve Custom Aspects Implementation?

1 Answer

0 votes
by (1.9m points)

Spring supports the @AspectJ annotation style approach and the schema-based approach to implement custom aspects. These two approaches have been explained in detail in the following sections.

Sr.NoApproach & Description
1XML Schema based

Aspects are implemented using the regular classes along with XML based configuration.

2@AspectJ based

@AspectJ refers to a style of declaring aspects as regular Java classes annotated with Java 5 annotations.