comparison graal/com.oracle.jvmci.service/src/com/oracle/jvmci/service/Service.java @ 21762:1025d6dc645a

Merge.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sat, 06 Jun 2015 15:13:09 +0200
parents 55058b8000ea
children
comparison
equal deleted inserted replaced
21761:0dfd3ea90d33 21762:1025d6dc645a
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 */ 22 */
23 package com.oracle.jvmci.service; 23 package com.oracle.jvmci.service;
24 24
25 import java.util.*;
26
25 /** 27 /**
26 * Denotes a service that may be efficiently loaded by {@link Services#load(Class)}. 28 * Denotes a JVMCI service that can be loaded by {@link Services#load(Class)} or
29 * {@link Services#loadSingle(Class, boolean)}. JVMCI services differ from
30 * {@linkplain ServiceLoader#load(Class) standard} services in that they may have implementations
31 * hidden behind a class loader not accessible to applications. For this reason,
32 * {@link Services#load(Class)} and {@link Services#loadSingle(Class, boolean)} perform
33 * {@link SecurityManager} checks.
34 *
35 * @see Services
36 * @see ServiceProvider
27 */ 37 */
28 public interface Service { 38 public interface Service {
29 } 39 }