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
- Version:
- 2023-11-19
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer 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 ch.nolix.coreapi.resourcecontrol.closecontroller.CloseStateRequestable
isOpenVon Schnittstelle geerbte Methoden ch.nolix.coreapi.state.staterequest.EmptinessRequestable
containsAny, isEmptyVon Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrol.closecontroller.GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosed, noteCloseVon Schnittstelle geerbte Methoden ch.nolix.coreapi.manager.applicationmanager.IApplicationManager
getStoredApplicationsVon Schnittstelle geerbte Methoden ch.nolix.coreapi.net.netattribute.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.
-