KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com4j > IID


1 package com4j;
2
3 import java.lang.annotation.ElementType JavaDoc;
4 import java.lang.annotation.Retention JavaDoc;
5 import java.lang.annotation.RetentionPolicy JavaDoc;
6 import java.lang.annotation.Target JavaDoc;
7 import java.lang.annotation.Inherited JavaDoc;
8
9 /**
10  * Annotates a COM interface by its IID.
11  *
12  * <p>
13  * This annotation is used on interfaces derived from
14  * {@link Com4jObject} to designate the IID of that interface.
15  *
16  * <p>
17  * The runtime uses this information for various purposes.
18  *
19  * @author Kohsuke Kawaguchi (kk@kohsuke.org)
20  */

21 @Retention JavaDoc(RetentionPolicy.RUNTIME)
22 @Target JavaDoc({ElementType.TYPE})
23 @Inherited JavaDoc
24 public @interface IID {
25     /**
26      * GUID as a string like "<tt>{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}</tt>".
27      */

28     String JavaDoc value();
29 }
30
Popular Tags