Class BasicApplication<C extends AbstractBackendClient<C,S>, S>
java.lang.Object
ch.nolix.system.application.main.Application<C,S>
ch.nolix.system.application.main.BasicApplication<C,S>
- Type Parameters:
C- is the type of theAbstractBackendClients of aBasicApplication.S- is the type of the application service of aBasicApplication.
- All Implemented Interfaces:
IApplication<C,S>
public final class BasicApplication<C extends AbstractBackendClient<C,S>, S>
extends Application<C,S>
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionstatic <C2 extends AbstractBackendClient<C2,S2>, T extends AbstractSession<C2, S2>, S2>
BasicApplication<C2, S2> withNameAndInitialSessionClassAndContext(String applicationName, Class<T> initialSessionClass, S2 applicationService) Methods inherited from class Application
asTarget, belongsToServer, getClientClass, getInstanceAppendix, getInstanceName, getStoredApplicationService, getStoredClients, getUrlInstanceName, hasClientConnected, hasInstanceAppendix
-
Method Details
-
withNameAndInitialSessionClassAndContext
public static <C2 extends AbstractBackendClient<C2,S2>, T extends AbstractSession<C2, BasicApplication<C2,S2>, S2> S2> withNameAndInitialSessionClassAndContext(String applicationName, Class<T> initialSessionClass, S2 applicationService) -
getApplicationName
- Returns:
- the application name of the current {IApplication}.
-