Class AbstractClientApplication
java.lang.Object
org.tentackle.app.AbstractApplication
org.tentackle.app.AbstractClientApplication
- All Implemented Interfaces:
Application, DomainContextProvider, SessionProvider
- Direct Known Subclasses:
ConsoleApplication, DesktopApplication
Base class for client applications.
- Author:
- harald
-
Field Summary
Fields inherited from class AbstractApplication
DISABLE_MODIFICATION_TRACKER, DISABLE_SECURITY_MANAGER, ENABLE_STATISTICS, LOCALE, SCRIPTING -
Constructor Summary
ConstructorsConstructorDescriptionAbstractClientApplication(String name, String version) Creates a client application. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidUpdates 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 overridesSessionHolder.getSessionInfo()).Methods inherited from class AbstractApplication
activateStatistics, applyProperties, cleanup, configure, configureModificationTracker, configurePreferences, configureSecurityManager, createDomainContext, createSession, createSessionInfo, filterName, filterVersion, finishStartup, getCommandLine, getCreationTime, getDomainContext, getName, getProperties, getProperty, getPropertyAsChars, getPropertyAsCharsIgnoreCase, getPropertyIgnoreCase, getSession, getSessionInfo, getVersion, initialize, initializeScripting, isInteractive, isPropertySet, isServer, isSystemExitNecessaryToStop, logStackdump, logStatistics, preloadCaches, setDomainContext, setProperties, setSessionInfo, start, startup, stop, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Application
getUser, register, start, stop, unregisterMethods inherited from interface DomainContextProvider
isWithinContext, isWithinContext, on, on, op, op
-
Constructor Details
-
AbstractClientApplication
-
-
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 overridesSessionHolder.getSessionInfo()).
-