Interface SharedKernelServicePortal

All Superinterfaces:
java.lang.AutoCloseable

public interface SharedKernelServicePortal
extends java.lang.AutoCloseable
Provides access to a shared KernelServicePortal instance.
  • Method Details

    • close

      void close()
      Specified by:
      close in interface java.lang.AutoCloseable
    • isClosed

      boolean isClosed()
      Indicates whether this instance is closed/unregistered from the shared portal pool.
      Returns:
      true if, and only if, this instance is closed.
    • getPortal

      KernelServicePortal getPortal() throws java.lang.IllegalStateException
      Returns the KernelServicePortal instance being shared.
      Returns:
      The portal instance being shared.
      Throws:
      java.lang.IllegalStateException - If this instance is closed.