Interface AdminExtension

All Superinterfaces:
DomainContextDependable, DomainContextProvider
All Known Implementing Classes:
AdminExtensionAdapter

public interface AdminExtension extends DomainContextDependable
Remote session extension providing admin services for the middle tier.
Author:
harald
  • Method Details

    • getSessions

      Gets the session data of all sessions currently logged into the middle tier.
      Returns:
      the session data
    • logout

      boolean logout(long userId, long sessionGroupId, String applicationName, long applicationId)
      Submits a logout request to the modification tracker session of a given user.
      Parameters:
      userId - the user id
      sessionGroupId - the optional session group, 0 = all
      applicationName - the optional application name, null = all
      applicationId - the optional application ID, 0 = all
      Returns:
      true if request submitted, false if no such user session
    • kill

      int kill(long userId, long sessionGroupId, String applicationName, long applicationId)
      Kills all sessions of a given user.
      Parameters:
      userId - the user id
      sessionGroupId - the optional session group, 0 = all
      applicationName - the optional application name, null = all
      applicationId - the optional application ID, 0 = all
      Returns:
      the number of sessions killed