Skip to content

Commit d970015

Browse files
committed
Merge pull request #424 from md42/master
* pull424: typo in pointcut expression
2 parents c1eb50e + b0e7f72 commit d970015

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/asciidoc/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12704,15 +12704,15 @@ this purpose. A typical such aspect would look as follows:
1270412704
* "service" package, and that implementation types are in sub-packages.
1270512705
*
1270612706
* If you group service interfaces by functional area (for example,
12707-
* in packages com.xyz.someapp.abc.service and com.xyz.def.service) then
12707+
* in packages com.xyz.someapp.abc.service and com.xyz.someapp.def.service) then
1270812708
* the pointcut expression "execution(* com.xyz.someapp..service.*.*(..))"
1270912709
* could be used instead.
1271012710
*
1271112711
* Alternatively, you can write the expression using the 'bean'
1271212712
* PCD, like so "bean(*Service)". (This assumes that you have
1271312713
* named your Spring service beans in a consistent fashion.)
1271412714
*/
12715-
@Pointcut("execution(* com.xyz.someapp.service.*.*(..))")
12715+
@Pointcut("execution(* com.xyz.someapp..service.*.*(..))")
1271612716
public void businessService() {}
1271712717

1271812718
/**

0 commit comments

Comments
 (0)