Class Application<C extends AbstractBackendClient<C,S>, S>
java.lang.Object
ch.nolix.system.application.main.Application<C,S>
- Type Parameters:
C- is the type of theAbstractBackendClients of aApplication.S- is the type of the application service of aApplication.
- All Implemented Interfaces:
IApplication<C,S>
- Direct Known Subclasses:
BasicApplication
public abstract class Application<C extends AbstractBackendClient<C,S>, S>
extends Object
implements IApplication<C,S>
- Author:
- Silvan Wyss
-
Method Details
-
asTarget
- Specified by:
asTargetin interfaceIApplication<C extends AbstractBackendClient<C,S>, S> - Returns:
- a target representation of the current
IApplication.
-
belongsToServer
public final boolean belongsToServer()- Specified by:
belongsToServerin interfaceIApplication<C extends AbstractBackendClient<C,S>, S> - Returns:
- true if the current
IApplicationbelongs to a server, false otherwise.
-
getClientClass
- Specified by:
getClientClassin interfaceIApplication<C extends AbstractBackendClient<C,S>, S> - Returns:
- the class of the
IBackendClients of the currentIApplication.
-
getInstanceAppendix
- Specified by:
getInstanceAppendixin interfaceIApplication<C extends AbstractBackendClient<C,S>, S> - Returns:
- the appendix that forms the instance name of the current
IApplicationwhen appended to the the application name of the currentIApplication.
-
getInstanceName
- Specified by:
getInstanceNamein interfaceIApplication<C extends AbstractBackendClient<C,S>, S> - Returns:
- the instance name of the current {IApplication}.
-
getStoredApplicationService
- Specified by:
getStoredApplicationServicein interfaceIApplication<C extends AbstractBackendClient<C,S>, S> - Returns:
- the application service of the current
IApplication.
-
getStoredClients
- Returns:
- the
AbstractClients of the currentApplication.
-
getUrlInstanceName
- Specified by:
getUrlInstanceNamein interfaceIApplication<C extends AbstractBackendClient<C,S>, S> - Returns:
- the instance name of the current
IApplicationfor URLs.
-
hasClientConnected
public final boolean hasClientConnected()- Specified by:
hasClientConnectedin interfaceIApplication<C extends AbstractBackendClient<C,S>, S> - Returns:
- true if the current
IApplicationhas aIBackendClientconnected, false otherwise.
-
hasInstanceAppendix
public final boolean hasInstanceAppendix()- Specified by:
hasInstanceAppendixin interfaceIApplication<C extends AbstractBackendClient<C,S>, S> - Returns:
- true if the current
IApplicationhas an instance appendix, false otherwise.
-