Interface IApplication<C extends IBackendClient<S>, S>

Type Parameters:
C - is the type of the IBackendClients of a IApplication.
S - is the type of the application service of a IApplication.
All Known Implementing Classes:
Application, BasicApplication

public interface IApplication<C extends IBackendClient<S>, S>
Author:
Silvan Wyss
  • Method Details

    • asTarget

      Returns:
      a target representation of the current IApplication.
    • belongsToServer

      boolean belongsToServer()
      Returns:
      true if the current IApplication belongs to a server, false otherwise.
    • getApplicationName

      String getApplicationName()
      Returns:
      the application name of the current {IApplication}.
    • getClientClass

      Class<C> getClientClass()
      Returns:
      the class of the IBackendClients of the current IApplication.
    • getInstanceAppendix

      String getInstanceAppendix()
      Returns:
      the appendix that forms the instance name of the current IApplication when appended to the the application name of the current IApplication.
    • getInstanceName

      String getInstanceName()
      Returns:
      the instance name of the current {IApplication}.
    • getStoredApplicationService

      S getStoredApplicationService()
      Returns:
      the application service of the current IApplication.
    • getUrlInstanceName

      String getUrlInstanceName()
      Returns:
      the instance name of the current IApplication for URLs.
    • hasClientConnected

      boolean hasClientConnected()
      Returns:
      true if the current IApplication has a IBackendClient connected, false otherwise.
    • hasInstanceAppendix

      boolean hasInstanceAppendix()
      Returns:
      true if the current IApplication has an instance appendix, false otherwise.