Package de.xima.fc.api
Class APISettings
java.lang.Object
de.xima.fc.api.APISettings
Current settings of the API.
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
changeScope
(FrontendServer frontendServer) Methode zum Wecheln des API-Scops zwischen Local- oder Remote-Ausführung.Getter des aktuellen Frontend-Servers.void
init
(IHandlerProvider handlerProvider) boolean
boolean
Deprecated.void
setFrontendServer
(boolean isFrontendServer) Deprecated.Do not change the state of the web app!
-
Constructor Details
-
APISettings
public APISettings()
-
-
Method Details
-
getFServer
Getter des aktuellen Frontend-Servers.- Returns:
FrontendServer
dem aktuell eingestelltenFrontendServer
odernull
bei lokalem ausführen
-
isConnected
public boolean isConnected() -
getHandlerProvider
-
init
- Parameters:
handlerProvider
- to be set.
-
changeScope
Methode zum Wecheln des API-Scops zwischen Local- oder Remote-Ausführung.- Parameters:
frontendServer
-FrontendServer
der neue aktuelleFrontendServer
odernull
bei lokaler Ausführung
-
isFrontendServer
Deprecated.CheckIWebAppDescriptor.getServerType()
via theWebAppContext
instead.- Returns:
true
if the current web app is a frontend server andfalse
otherwise.
-
setFrontendServer
Deprecated.Do not change the state of the web app! For checking the type of web app useIWebAppDescriptor.getServerType()
via theWebAppContext
- Parameters:
isFrontendServer
- to set
-
IWebAppDescriptor.getServerType()
via theWebAppContext
instead.