public class PlatformAPIAccessor extends Object
All APIs given by this class are relevant to the platform only.
| Constructor and Description |
|---|
PlatformAPIAccessor() |
| Modifier and Type | Method and Description |
|---|---|
static PlatformAPI |
getPlatformAPI(PlatformSession session) |
static PlatformCommandAPI |
getPlatformCommandAPI(PlatformSession session) |
static PlatformLoginAPI |
getPlatformLoginAPI() |
static void |
refresh()
Reload the configuration of the Bonita home from the file system
It allows to change in runtime the Bonita engine your client application uses
|
public static void refresh()
public static PlatformLoginAPI getPlatformLoginAPI() throws BonitaHomeNotSetException, ServerAPIException, UnknownAPITypeException
PlatformLoginAPIBonitaHomeNotSetExceptionServerAPIExceptionUnknownAPITypeExceptionpublic static PlatformAPI getPlatformAPI(PlatformSession session) throws BonitaHomeNotSetException, ServerAPIException, UnknownAPITypeException
session - a PlatformSession created using the PlatformLoginAPIPlatformAPIInvalidSessionExceptionBonitaHomeNotSetExceptionServerAPIExceptionUnknownAPITypeExceptionpublic static PlatformCommandAPI getPlatformCommandAPI(PlatformSession session) throws BonitaHomeNotSetException, ServerAPIException, UnknownAPITypeException
session - a PlatformSession created using the PlatformLoginAPIPlatformCommandAPIBonitaHomeNotSetExceptionServerAPIExceptionUnknownAPITypeExceptionInvalidSessionExceptionCopyright © 2018 Bonitasoft S.A.. All rights reserved.