Interface Application<C extends BackendClient<S>, S>

Type Parameters:
C - the type of the BackendClients of a Application.
S - the type of the application service of a Application.
All Superinterfaces:
ClientManager<C>
All Known Implementing Classes:
AbstractApplication, BasicApplication

public interface Application<C extends BackendClient<S>, S> extends ClientManager<C>
Author:
Silvan Wyss
  • Method Details

    • asTarget

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

      boolean belongsToServer()
      Returns:
      true if the current Application 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 BackendClients of the current Application.
    • getInstanceAppendix

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

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

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

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

      boolean hasClientConnected()
      Returns:
      true if the current Application has a BackendClient connected, false otherwise
    • hasInstanceAppendix

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