| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.core.JebCoreService |
Service class used to create or retrieve a reference to the JEB core context. The core context provides verified access to the engines.
Typically, it is the responsibility of client implementations (eg, the official RCP client), not plugins, to instantiate the core and a single engines context.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| JebCoreService() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static ICoreContext |
getExistingInstance()
Retrieve an existing core context (= JEB back-end) if one exists.
| ||||||||||
| static ICoreContext |
getInstance(String licenseKey, CoreOptions options)
Retrieve or create an instance of a core.
| ||||||||||
| static ICoreContext |
getInstance(String licenseKey)
Retrieve or create an instance of a core.
| ||||||||||
| static ICoreContext |
getInstance()
Retrieve an instance of the previously instantiated core.
| ||||||||||
| static void | notifyExceptionToClient(Throwable throwable) | ||||||||||
| static void |
notifyExceptionToClient(Throwable throwable, int flags, Map<String, Object> extradata)
Convenience method to "forward" (via an event) a throwable to the client for processing.
| ||||||||||
| static void | notifySilentExceptionToClient(Throwable throwable) | ||||||||||
| static void | notifySilentExceptionToClient(Throwable throwable, Map<String, Object> extradata) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Retrieve an existing core context (= JEB back-end) if one exists. If none exist, null is returned.
Retrieve or create an instance of a core.
| licenseKey | a valid JEB license key |
|---|---|
| options | core options |
| JebException | on error |
|---|
Retrieve or create an instance of a core.
| licenseKey | a valid JEB license key |
|---|
| JebException | on error |
|---|
Retrieve an instance of the previously instantiated core.
| JebException | on error |
|---|
| throwable | an error or exception |
|---|
Convenience method to "forward" (via an event) a throwable to the client for processing. The client may decide to ignore, display, or further process (eg, report or log) the exception.
| throwable | an error or exception |
|---|---|
| flags | internal flags |
| extradata | optional |
| throwable | an error or exception |
|---|
| throwable | an error or exception |
|---|---|
| extradata | optional |