01: /**************************************************************************************
02: * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
03: * http://aspectwerkz.codehaus.org *
04: * ---------------------------------------------------------------------------------- *
05: * The software in this package is published under the terms of the LGPL license *
06: * a copy of which has been included with this distribution in the license.txt file. *
07: **************************************************************************************/package org.codehaus.aspectwerkz.annotation;
08:
09: import java.lang.annotation.Target;
10: import java.lang.annotation.ElementType;
11: import java.lang.annotation.Retention;
12: import java.lang.annotation.RetentionPolicy;
13:
14: /**
15: * Annotation for around advice
16: *
17: * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a>
18: */
19: @Target(ElementType.METHOD)
20: @Retention(RetentionPolicy.RUNTIME)
21: public @interface Around {
22: /**
23: * The pointcut expression to bind
24: * TODO: defaults to "" for JAOO sample - might not be good to keep.
25: */
26: String value() default "";
27: }
|