01: package org.jboss.annotation.ejb;
02:
03: import static java.lang.annotation.ElementType.TYPE;
04: import static java.lang.annotation.RetentionPolicy.RUNTIME;
05:
06: import java.lang.annotation.Retention;
07: import java.lang.annotation.Target;
08:
09: /**
10: * Service annotaion from Jboss.
11: * @author Daniel Wiese
12: * @since 24.02.2007
13: */
14: @Target(TYPE)
15: @Retention(RUNTIME)
16: public @interface Service {
17:
18: /**
19: * Teh object name.
20: * @author Daniel Wiese
21: * @since 24.02.2007
22: */
23: String objectName() default "";
24:
25: }
|