Class AbstractClientApplication

java.lang.Object
org.tentackle.app.AbstractApplication
org.tentackle.app.AbstractClientApplication
All Implemented Interfaces:
Application, DomainContextProvider, SessionProvider
Direct Known Subclasses:
ConsoleApplication, DesktopApplication

public abstract class AbstractClientApplication extends AbstractApplication
Base class for client applications.
Author:
harald
  • Constructor Details

    • AbstractClientApplication

      public AbstractClientApplication(String name, String version)
      Creates a client application.
      Parameters:
      name - the application name, null for default name
      version - the application version, null for default version
  • Method Details

    • updateSessionInfoAfterLogin

      protected void updateSessionInfoAfterLogin()
      Updates the session info after successful login.
      Copies the user's object ID and class ID into the session's info: from the server's view of the client session if the session is remote, otherwise from the domain context's session info (which is the same object, unless the application's domain context overrides SessionHolder.getSessionInfo()).