Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
21759:75daca0c6a0f | 21760:55058b8000ea |
---|---|
22 */ | 22 */ |
23 package com.oracle.jvmci.service; | 23 package com.oracle.jvmci.service; |
24 | 24 |
25 import java.lang.annotation.*; | 25 import java.lang.annotation.*; |
26 | 26 |
27 /** | |
28 * Annotates a class that implements a {@linkplain Service JVMCI service}. This annotation is used | |
29 * by the JVMCI build system to deploy the necessary files used to {@linkplain Services#load(Class) | |
30 * load} JVMCI services at runtime. | |
31 */ | |
27 @Retention(RetentionPolicy.CLASS) | 32 @Retention(RetentionPolicy.CLASS) |
28 @Target(ElementType.TYPE) | 33 @Target(ElementType.TYPE) |
29 public @interface ServiceProvider { | 34 public @interface ServiceProvider { |
30 | 35 |
31 Class<?> value(); | 36 Class<?> value(); |