Skip to content

Commit a0b6175

Browse files
committed
Update doc for DefaultAopProxyFactory re: CGLIB
1 parent 50c5cc0 commit a0b6175

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

spring-aop/src/main/java/org/springframework/aop/framework/DefaultAopProxyFactory.java

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2013 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -21,21 +21,18 @@
2121
import org.springframework.aop.SpringProxy;
2222

2323
/**
24-
* Default {@link AopProxyFactory} implementation,
25-
* creating either a CGLIB proxy or a JDK dynamic proxy.
24+
* Default {@link AopProxyFactory} implementation, creating either a CGLIB proxy
25+
* or a JDK dynamic proxy.
2626
*
27-
* <p>Creates a CGLIB proxy if one the following is true
28-
* for a given {@link AdvisedSupport} instance:
27+
* <p>Creates a CGLIB proxy if one the following is true for a given
28+
* {@link AdvisedSupport} instance:
2929
* <ul>
30-
* <li>the "optimize" flag is set
31-
* <li>the "proxyTargetClass" flag is set
30+
* <li>the {@code optimize} flag is set
31+
* <li>the {@code proxyTargetClass} flag is set
3232
* <li>no proxy interfaces have been specified
3333
* </ul>
3434
*
35-
* <p>Note that the CGLIB library classes have to be present on
36-
* the class path if an actual CGLIB proxy needs to be created.
37-
*
38-
* <p>In general, specify "proxyTargetClass" to enforce a CGLIB proxy,
35+
* <p>In general, specify {@code proxyTargetClass} to enforce a CGLIB proxy,
3936
* or specify one or more interfaces to use a JDK dynamic proxy.
4037
*
4138
* @author Rod Johnson

0 commit comments

Comments
 (0)