Interface IApplication<C extends IBackendClient<S>, S>
- Type Parameters:
C- is the type of theIBackendClients of aIApplication.S- is the type of the application service of aIApplication.
- All Known Implementing Classes:
Application, BasicApplication
public interface IApplication<C extends IBackendClient<S>, S>
- Author:
- Silvan Wyss
-
Method Summary
-
Method Details
-
asTarget
IApplicationInstanceTarget asTarget()- Returns:
- a target representation of the current
IApplication.
-
belongsToServer
boolean belongsToServer()- Returns:
- true if the current
IApplicationbelongs to a server, false otherwise.
-
getApplicationName
String getApplicationName()- Returns:
- the application name of the current {IApplication}.
-
getClientClass
- Returns:
- the class of the
IBackendClients of the currentIApplication.
-
getInstanceAppendix
String getInstanceAppendix()- Returns:
- the appendix that forms the instance name of the current
IApplicationwhen appended to the the application name of the currentIApplication.
-
getInstanceName
String getInstanceName()- Returns:
- the instance name of the current {IApplication}.
-
getStoredApplicationService
S getStoredApplicationService()- Returns:
- the application service of the current
IApplication.
-
getUrlInstanceName
String getUrlInstanceName()- Returns:
- the instance name of the current
IApplicationfor URLs.
-
hasClientConnected
boolean hasClientConnected()- Returns:
- true if the current
IApplicationhas aIBackendClientconnected, false otherwise.
-
hasInstanceAppendix
boolean hasInstanceAppendix()- Returns:
- true if the current
IApplicationhas an instance appendix, false otherwise.
-