Package ch.nolix.system.application.main
Klasse Application<BC extends BackendClient<BC,AC>,AC>
java.lang.Object
ch.nolix.system.application.main.Application<BC,AC>
- Typparameter:
BC
- is the type of theBackendClient
s of aApplication
.AC
- is the type of the application context of aApplication
.
- Alle implementierten Schnittstellen:
IApplication<AC>
- Bekannte direkte Unterklassen:
BasicApplication
,ServerDashboardApplication
public abstract class Application<BC extends BackendClient<BC,AC>,AC>
extends Object
implements IApplication<AC>
- Version:
- 2016-01-01
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
Application
(AC applicationContext) Creates a newApplication
with the given applicationContext. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungasTarget()
final boolean
protected abstract Class
<?> final String
final String
final AC
final IContainer
<BC> final String
final boolean
final boolean
final void
takeClient
(BackendClient<?, ?> client) Lets the currentApplication
take the given client.final void
takeEndPoint
(IEndPoint endPoint) Lets the currentApplication
take the given endPoint.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.applicationapi.mainapi.IApplication
getApplicationName
-
Konstruktordetails
-
Application
Creates a newApplication
with the given applicationContext.- Parameter:
applicationContext
-- Löst aus:
ArgumentIsNullException
- if the given applicationContext is null.
-
-
Methodendetails
-
asTarget
- Angegeben von:
asTarget
in SchnittstelleIApplication<BC extends BackendClient<BC,
AC>>
-
belongsToServer
public final boolean belongsToServer()- Angegeben von:
belongsToServer
in SchnittstelleIApplication<BC extends BackendClient<BC,
AC>>
-
getClientClass
- Gibt zurück:
- the class of the
Client
s of the currentApplication
.
-
getInstanceName
- Angegeben von:
getInstanceName
in SchnittstelleIApplication<BC extends BackendClient<BC,
AC>> - Gibt zurück:
- the instance name of the current
Application
.
-
getNameAddendum
- Angegeben von:
getNameAddendum
in SchnittstelleIApplication<BC extends BackendClient<BC,
AC>>
-
getStoredApplicationContext
- Angegeben von:
getStoredApplicationContext
in SchnittstelleIApplication<BC extends BackendClient<BC,
AC>>
-
getStoredClients
- Gibt zurück:
- the
Client
s of the currentApplication
.
-
getUrlInstanceName
- Angegeben von:
getUrlInstanceName
in SchnittstelleIApplication<BC extends BackendClient<BC,
AC>>
-
hasClientConnected
public final boolean hasClientConnected()- Gibt zurück:
- true if the current
Application
has aClient
connected.
-
hasNameAddendum
public final boolean hasNameAddendum()- Angegeben von:
hasNameAddendum
in SchnittstelleIApplication<BC extends BackendClient<BC,
AC>>
-
takeClient
Lets the currentApplication
take the given client.- Parameter:
client
-
-
takeEndPoint
Lets the currentApplication
take the given endPoint.- Parameter:
endPoint
-
-
createInitialSession
- Gibt zurück:
- a new initial
Session
for aClient
of the currentApplication
.
-
getInitialSessionClass
- Gibt zurück:
- the initial
Session
class of the currentApplication
.
-