KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > examples > logging > LoggingAspect


1 /**************************************************************************************
2  * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
3  * http://aspectwerkz.codehaus.org *
4  * ---------------------------------------------------------------------------------- *
5  * The software in this package is published under the terms of the LGPL license *
6  * a copy of which has been included with this distribution in the license.txt file. *
7  **************************************************************************************/

8 package examples.logging;
9
10 import org.codehaus.aspectwerkz.definition.Pointcut;
11
12 /**
13  * @author <a HREF="mailto:jboner@codehaus.org">Jonas BonŽr </a>
14  */

15 public class LoggingAspect extends AbstractLoggingAspect {
16
17     // ============ Pointcuts ============
18

19     /**
20      * @Expression execution(* examples.logging.Target.toLog*(..))
21      */

22     Pointcut methodsToLog() {
23         return null;
24     };
25 }
Popular Tags