public class Graal extends Object
GraalRuntime instance.| Modifier and Type | Class and Description |
|---|---|
private static class |
Graal.InvalidGraalRuntime |
| Modifier and Type | Field and Description |
|---|---|
private static GraalRuntime |
runtime |
| Constructor and Description |
|---|
Graal() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
getRequiredCapability(Class<T> clazz)
Gets a capability provided by the
GraalRuntime instance available to the application. |
static GraalRuntime |
getRuntime()
Gets the singleton
GraalRuntime instance available to the application. |
private static GraalRuntime |
initializeRuntime() |
private static final GraalRuntime runtime
public Graal()
private static GraalRuntime initializeRuntime()
public static GraalRuntime getRuntime()
GraalRuntime instance available to the application.public static <T> T getRequiredCapability(Class<T> clazz)
GraalRuntime instance available to the application.UnsupportedOperationException - if the capability is not available