-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Guy Elsmore-Paddock
committed
Mar 27, 2017
1 parent
4c5887b
commit b204825
Showing
5 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.rosieapp.aop.config; | ||
|
||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.context.annotation.EnableLoadTimeWeaving; | ||
import org.springframework.context.annotation.EnableLoadTimeWeaving.AspectJWeaving; | ||
|
||
/** | ||
* @author Guy Paddock (guy@redbottledesign.com) | ||
*/ | ||
@Configuration | ||
@EnableLoadTimeWeaving(aspectjWeaving = AspectJWeaving.ENABLED) | ||
public class AspectJConfig { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "http://www.eclipse.org/aspectj/dtd/aspectj.dtd"> | ||
<aspectj> | ||
<weaver options="-verbose -showWeaveInfo"> | ||
<!-- only weave classes in our application-specific packages --> | ||
<include within="com.rosieapp.aop..*" /> | ||
</weaver> | ||
<aspects> | ||
<!-- weave in just this aspect --> | ||
<aspect name="com.rosieapp.aop.aspect.ProfilingAspect"/> | ||
<aspect name="com.rosieapp.aop.aspect.SampleServiceAspect"/> | ||
</aspects> | ||
</aspectj> |