Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
782ab280
Commit
782ab280
authored
Feb 23, 2018
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish documentation regarding target class proxying
Closes gh-12196
parent
9b61df6a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
AopAutoConfiguration.java
...ramework/boot/autoconfigure/aop/AopAutoConfiguration.java
+3
-3
AopAutoConfigurationTests.java
...ork/boot/autoconfigure/aop/AopAutoConfigurationTests.java
+2
-2
spring-boot-features.adoc
...ing-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+0
-3
No files found.
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/aop/AopAutoConfiguration.java
View file @
782ab280
/*
* Copyright 2012-201
7
the original author or authors.
* Copyright 2012-201
8
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.
...
...
@@ -32,8 +32,8 @@ import org.springframework.context.annotation.EnableAspectJAutoProxy;
* configuration.
* <p>
* The configuration will not be activated if {@literal spring.aop.auto=false}. The
* {@literal proxyTargetClass} attribute will be {@literal
fals
e}, by default, but can be
* overridden by specifying {@literal spring.aop.proxy
TargetClass=tru
e}.
* {@literal proxyTargetClass} attribute will be {@literal
tru
e}, by default, but can be
* overridden by specifying {@literal spring.aop.proxy
-target-class=fals
e}.
*
* @author Dave Syer
* @author Josh Long
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/aop/AopAutoConfigurationTests.java
View file @
782ab280
...
...
@@ -75,7 +75,7 @@ public class AopAutoConfigurationTests {
}
@Test
public
void
aopWithCustomConfiguration
()
{
public
void
customConfigurationWithProxyTargetClassDefaultDoesNotDisableProxying
()
{
this
.
contextRunner
.
withUserConfiguration
(
CustomTestConfiguration
.
class
)
.
run
(
proxyTargetClassEnabled
());
}
...
...
@@ -101,7 +101,7 @@ public class AopAutoConfigurationTests {
};
}
@EnableAspectJAutoProxy
(
proxyTargetClass
=
true
)
@EnableAspectJAutoProxy
@Configuration
@Import
(
TestConfiguration
.
class
)
protected
static
class
CustomTestConfiguration
{
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
782ab280
...
...
@@ -4575,9 +4575,6 @@ TIP: It is also possible to transparently
{spring-reference}integration.html#cache-annotations-evict[evict] data from the cache.
NOTE: If you use the cache infrastructure with beans that are not interface-based, make
sure to enable the `proxyTargetClass` attribute of `@EnableCaching`.
=== Supported Cache Providers
The cache abstraction does not provide an actual store and relies on abstraction
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment