@Concealed
public class SandboxServiceLoader
extends java.lang.Object
Utility class that helps loading services supporting unified sandbox framework.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SandboxServiceLoader.ServiceDescriptor<P,S>
Describes how to load a service.
|
| Modifier and Type | Method and Description |
|---|---|
static <P,S> S |
getService(SandboxServiceLoader.ServiceDescriptor<P,S> descriptor)
Loads a service.
|
public static <P,S> S getService(SandboxServiceLoader.ServiceDescriptor<P,S> descriptor)
S - the type of the serviceP - the type of the service providerdescriptor - the description of the service to be loaded