Create example with Spring stereotype annotations

- Use component scanning for loading bean definitions
- Use Spring stereotypes to define poincuts
This commit is contained in:
Dmitry Zinkevich
2015-10-23 01:37:20 +03:00
parent 1ef53e2f68
commit 0115fccc3d
6 changed files with 171 additions and 0 deletions
@@ -0,0 +1,9 @@
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=WARN, A1
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n