Mercurial > hg > truffle
diff graal/com.oracle.jvmci.service/src/com/oracle/jvmci/service/ServiceProvider.java @ 21760:55058b8000ea
updated javadoc to document that JVMCI services are disjoint from the standard service loading mechanism and tightened generic type constraint such that Services and @ServiceProcessor can only be used with classes implementing Service
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sat, 06 Jun 2015 09:23:37 +0200 |
parents | 93f282187d90 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.jvmci.service/src/com/oracle/jvmci/service/ServiceProvider.java Fri Jun 05 23:54:02 2015 +0200 +++ b/graal/com.oracle.jvmci.service/src/com/oracle/jvmci/service/ServiceProvider.java Sat Jun 06 09:23:37 2015 +0200 @@ -24,6 +24,11 @@ import java.lang.annotation.*; +/** + * Annotates a class that implements a {@linkplain Service JVMCI service}. This annotation is used + * by the JVMCI build system to deploy the necessary files used to {@linkplain Services#load(Class) + * load} JVMCI services at runtime. + */ @Retention(RetentionPolicy.CLASS) @Target(ElementType.TYPE) public @interface ServiceProvider {