Fight the Future

Java言語とJVM、そしてJavaエコシステム全般にまつわること

2010-05-25から1日間の記事一覧

SpringでAOPに複数のポイントカットを指定する

<aop:config> <aop:aspect ref="interceptor"> <aop:pointcut expression="execution(* xxx.xxx.*.update(..)) || execution(* xxx.xxx.*.add(..))" id="pointCut" /> <aop:around pointcut-ref="pointCut" method="aopMethod" /> </aop:aspect> </aop:config>