public class PlatformAPIAccessor
extends java.lang.Object
All APIs given by this class are relevant to the platform only.
PlatformAPIPlatformCommandAPIPlatformLoginAPI| Constructor and Description |
|---|
PlatformAPIAccessor() |
| Modifier and Type | Method and Description |
|---|---|
static org.bonitasoft.engine.api.PlatformAPI |
getPlatformAPI(org.bonitasoft.engine.session.PlatformSession session) |
static org.bonitasoft.engine.api.PlatformCommandAPI |
getPlatformCommandAPI(org.bonitasoft.engine.session.PlatformSession session) |
static org.bonitasoft.engine.api.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 org.bonitasoft.engine.api.PlatformLoginAPI getPlatformLoginAPI()
throws org.bonitasoft.engine.exception.BonitaHomeNotSetException,
org.bonitasoft.engine.exception.ServerAPIException,
UnknownAPITypeException
PlatformLoginAPIorg.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeExceptionpublic static org.bonitasoft.engine.api.PlatformAPI getPlatformAPI(org.bonitasoft.engine.session.PlatformSession session)
throws org.bonitasoft.engine.exception.BonitaHomeNotSetException,
org.bonitasoft.engine.exception.ServerAPIException,
UnknownAPITypeException
session - a PlatformSession created using the PlatformLoginAPIPlatformAPIorg.bonitasoft.engine.session.InvalidSessionExceptionorg.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeExceptionpublic static org.bonitasoft.engine.api.PlatformCommandAPI getPlatformCommandAPI(org.bonitasoft.engine.session.PlatformSession session)
throws org.bonitasoft.engine.exception.BonitaHomeNotSetException,
org.bonitasoft.engine.exception.ServerAPIException,
UnknownAPITypeException
session - a PlatformSession created using the PlatformLoginAPIPlatformCommandAPIorg.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeExceptionorg.bonitasoft.engine.session.InvalidSessionException