Registry / dependency-injection / spring-aop

spring-aop

JSON →
library7.0.7javamavenunverified

Spring AOP provides aspect-oriented programming capabilities for the Spring Framework.

<dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>7.0.7</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-AOP
S
spring-aop
dependency-injectionjavav7.0.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ProxyFactoryBean
org.springframework.aop.framework.ProxyFactoryBean

Create an AOP proxy with advice

import org.springframework.aop.framework.ProxyFactoryBean; import org.springframework.aop.support.DefaultPointcutAdvisor; public class Main { public static void main(String[] args) { ProxyFactoryBean factory = new ProxyFactoryBean(); factory.setTarget(new MyService()); factory.addAdvisor(new DefaultPointcutAdvisor(new MyAdvice())); MyService proxy = (MyService) factory.getObject(); proxy.doSomething(); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
7.0.7latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
26
OpenAI (training)
1
Resources
spring-aop — mvn dependency:get spring-aop · libregistry