01: /*
02: * JFox - The most lightweight Java EE Application Server!
03: * more details please visit http://www.huihoo.org/jfox or http://www.jfox.org.cn.
04: *
05: * JFox is licenced and re-distributable under GNU LGPL.
06: */
07: package org.jfox.framework.annotation;
08:
09: import java.lang.annotation.Target;
10: import java.lang.annotation.Retention;
11: import java.lang.annotation.RetentionPolicy;
12: import java.lang.annotation.ElementType;
13:
14: /**
15: * Exported用æ?¥æ ‡æ³¨ä¸€ä¸ªComponent 接å?£ï¼Œ
16: * æ ‡æ³¨äº†çš„Component接å?£å°†èƒ½å¤Ÿè¢«æ‰€æœ‰çš„模å?—å?‘现,
17: * 所以如果一个Componentè¦?跨模å?—æ??ä¾›æœ?务,则需è¦?å°†æœ?务接å?£ä½¿ç”¨ @Exported æ??è¿°
18: *
19: * æ??述了 Exported 的接å?£åœ¨ Module reload 的时候,也ä¸?会é‡?æ–°åŠ è½½
20: * Exported æ??述在Class上,没有æ„?义
21: *
22: * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>
23: */
24: @Retention(RetentionPolicy.RUNTIME)
25: @Target({ElementType.TYPE})
26: public @interface Exported {
27:
28: }
|