Schnittstelle SharedKernelServicePortalProvider


public interface SharedKernelServicePortalProvider
Pools access to a KernelServicePortal instance for multiple clients.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Returns a description for the portal currently being shared.
    boolean
    Checks whether a kernel reference is currently being shared.
    Creates and registers a new client with this access pool.
  • Methodendetails

    • register

      Creates and registers a new client with this access pool. This is a convenience method that supports try-with-ressources and does not require a preexisting client.
      Gibt zurück:
      The SharedKernelServicePortal.
      Löst aus:
      ServiceUnavailableException - in case of connection falure with the portal.
    • portalShared

      boolean portalShared()
      Checks whether a kernel reference is currently being shared.
      Gibt zurück:
      true if, and only if, a portal reference is currently being shared, meaning that at least one client is registered and a usable portal reference exists.
    • getPortalDescription

      String getPortalDescription()
      Returns a description for the portal currently being shared.
      Gibt zurück:
      A description for the portal currently being shared, or the empty string, if none is currently being shared.