Schnittstelle IServer<S extends IServer<S>>
- Typparameter:
S- is the type of aIServer.
- Alle Superschnittstellen:
AutoCloseable, Clearable, Closeable, CloseStateRequestable, EmptinessRequestable, GroupCloseable, IApplicationManager<IApplication<?,?>>, ISecuriyModeHolder
- Alle bekannten Implementierungsklassen:
AbstractServer, LocalServer, Server, SslServer
public interface IServer<S extends IServer<S>>
extends Clearable, GroupCloseable, IApplicationManager<IApplication<?,?>>, ISecuriyModeHolder
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungaddApplication(IApplication<?, ?> application) Adds the given application to the currentIServer.asTarget()voidremoveApplicationWithInstanceName(String instanceName) Removes theIApplicationwith the given instanceName from the currentIServer.Von Schnittstelle geerbte Methoden CloseStateRequestable
isOpenVon Schnittstelle geerbte Methoden EmptinessRequestable
containsAny, isEmptyVon Schnittstelle geerbte Methoden GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosed, noteCloseVon Schnittstelle geerbte Methoden IApplicationManager
getStoredApplicationsVon Schnittstelle geerbte Methoden ISecuriyModeHolder
getSecurityMode
-
Methodendetails
-
addApplication
Adds the given application to the currentIServer.- Parameter:
application-- Gibt zurück:
- the current
IServer. - Löst aus:
RuntimeException- if the given application is null.RuntimeException- if the currentIServercontains already aIApplicationwith the same instanceName as the given application.
-
asTarget
IServerTarget asTarget()- Gibt zurück:
- a target representation of the current
IServer.
-
removeApplicationWithInstanceName
Removes theIApplicationwith the given instanceName from the currentIServer.- Parameter:
instanceName-- Löst aus:
RuntimeException- if the currentIServerdoes not contain aIApplicationwith the given instanceName.
-