Package ch.nolix.system.application.main
Klasse Application<C extends AbstractBackendClient<C,S>,S>
java.lang.Object
ch.nolix.system.application.main.Application<C,S>
- Typparameter:
C- is the type of theAbstractBackendClients of aApplication.S- is the type of the application context of aApplication.
- Alle implementierten Schnittstellen:
IApplication<S>
- Bekannte direkte Unterklassen:
BasicApplication,ServerDashboardApplication
public abstract class Application<C extends AbstractBackendClient<C,S>,S>
extends Object
implements IApplication<S>
- Version:
- 2016-01-01
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedApplication(S applicationService) Creates a newApplicationwith the given applicationService. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungasTarget()final booleanprotected final AbstractSession<C, S> protected abstract Class<?> final Stringfinal Stringfinal Sfinal IContainer<C> final Stringfinal booleanfinal booleanfinal voidtakeClient(AbstractBackendClient<?, ?> client) Lets the currentApplicationtake the given client.final voidtakeEndPoint(IEndPoint endPoint) Lets the currentApplicationtake the given endPoint.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden ch.nolix.systemapi.applicationapi.mainapi.IApplication
getApplicationName
-
Konstruktordetails
-
Application
Creates a newApplicationwith the given applicationService.- Parameter:
applicationService-- Löst aus:
ArgumentIsNullException- if the given applicationService is null.
-
-
Methodendetails
-
asTarget
- Angegeben von:
asTargetin SchnittstelleIApplication<C extends AbstractBackendClient<C,S>>
-
belongsToServer
public final boolean belongsToServer()- Angegeben von:
belongsToServerin SchnittstelleIApplication<C extends AbstractBackendClient<C,S>>
-
getClientClass
- Gibt zurück:
- the class of the
AbstractClients of the currentApplication.
-
getInstanceName
- Angegeben von:
getInstanceNamein SchnittstelleIApplication<C extends AbstractBackendClient<C,S>> - Gibt zurück:
- the instance name of the current
Application.
-
getNameAddendum
- Angegeben von:
getNameAddendumin SchnittstelleIApplication<C extends AbstractBackendClient<C,S>>
-
getStoredApplicationService
- Angegeben von:
getStoredApplicationServicein SchnittstelleIApplication<C extends AbstractBackendClient<C,S>>
-
getStoredClients
- Gibt zurück:
- the
AbstractClients of the currentApplication.
-
getUrlInstanceName
- Angegeben von:
getUrlInstanceNamein SchnittstelleIApplication<C extends AbstractBackendClient<C,S>>
-
hasClientConnected
public final boolean hasClientConnected()- Gibt zurück:
- true if the current
Applicationhas aAbstractClientconnected.
-
hasNameAddendum
public final boolean hasNameAddendum()- Angegeben von:
hasNameAddendumin SchnittstelleIApplication<C extends AbstractBackendClient<C,S>>
-
takeClient
Lets the currentApplicationtake the given client.- Parameter:
client-
-
takeEndPoint
Lets the currentApplicationtake the given endPoint.- Parameter:
endPoint-
-
createInitialSession
- Gibt zurück:
- a new initial
AbstractSessionfor aAbstractClientof the currentApplication.
-
getInitialSessionClass
- Gibt zurück:
- the initial
AbstractSessionclass of the currentApplication.
-