From a0b6175d786919c1150ff0860788b373b6800d13 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 21 Apr 2014 11:10:16 -0400 Subject: [PATCH] Update doc for DefaultAopProxyFactory re: CGLIB --- .../aop/framework/DefaultAopProxyFactory.java | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/spring-aop/src/main/java/org/springframework/aop/framework/DefaultAopProxyFactory.java b/spring-aop/src/main/java/org/springframework/aop/framework/DefaultAopProxyFactory.java index 286e9b4e82..1aa3461fd5 100644 --- a/spring-aop/src/main/java/org/springframework/aop/framework/DefaultAopProxyFactory.java +++ b/spring-aop/src/main/java/org/springframework/aop/framework/DefaultAopProxyFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,21 +21,18 @@ import java.io.Serializable; import org.springframework.aop.SpringProxy; /** - * Default {@link AopProxyFactory} implementation, - * creating either a CGLIB proxy or a JDK dynamic proxy. + * Default {@link AopProxyFactory} implementation, creating either a CGLIB proxy + * or a JDK dynamic proxy. * - *

Creates a CGLIB proxy if one the following is true - * for a given {@link AdvisedSupport} instance: + *

Creates a CGLIB proxy if one the following is true for a given + * {@link AdvisedSupport} instance: *

* - *

Note that the CGLIB library classes have to be present on - * the class path if an actual CGLIB proxy needs to be created. - * - *

In general, specify "proxyTargetClass" to enforce a CGLIB proxy, + *

In general, specify {@code proxyTargetClass} to enforce a CGLIB proxy, * or specify one or more interfaces to use a JDK dynamic proxy. * * @author Rod Johnson