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
PlatformLoginAPI
BonitaHomeNotSetException
ServerAPIException
UnknownAPITypeException
public static PlatformAPI getPlatformAPI(PlatformSession session) throws BonitaHomeNotSetException, ServerAPIException, UnknownAPITypeException
session
- a PlatformSession
created using the PlatformLoginAPI
PlatformAPI
InvalidSessionException
BonitaHomeNotSetException
ServerAPIException
UnknownAPITypeException
public static PlatformCommandAPI getPlatformCommandAPI(PlatformSession session) throws BonitaHomeNotSetException, ServerAPIException, UnknownAPITypeException
session
- a PlatformSession
created using the PlatformLoginAPI
PlatformCommandAPI
BonitaHomeNotSetException
ServerAPIException
UnknownAPITypeException
InvalidSessionException
Copyright © 2018 Bonitasoft S.A.. All rights reserved.