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