public abstract class

ACMSessionReconstructor

extends Object
java.lang.Object
   ↳ com.microstrategy.webapi.ACMSessionReconstructor
Known Direct Subclasses

Class Overview

ACMSessionReconstructor is the base class to recreate a session. In some cases the original session should be reused and in other cases the original session should be only the springboard to create entirely new sessions. The general workflow for the two cases is similar, while subtle differences are handled via polymorphism

Summary

Fields
protected final ACMClusterInfo mClusterInfo
protected final String mProjectId
protected final CDSSXMLServerSessionImpl mServerSession
protected final IDSSXMLSessionId mSessionId
Protected Constructors
ACMSessionReconstructor(IDSSXMLServerSession iServerSession, IDSSXMLSessionId iSessionId, String iProjectId, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, ACMClusterInfo iClusterInfo)
ACMSessionReconstructor is the base constructor that drives the walk through the polymorhpic method
Public Methods
static ACMSessionReconstructor createAsymmetricNew(IDSSXMLServerSession iServerSession, IDSSXMLSessionId iSessionId, String iProjectId, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, ACMClusterInfo iClusterInfo)
createAsymmetricNew creates an ACMSessionReconstructor that will do the work to reconstruct a session in an asymmetric workflow (used by Library) and the flag to reuse the session is off (default)@return
static ACMSessionReconstructor createAsymmetricReuse(IDSSXMLServerSession iServerSession, IDSSXMLSessionId iSessionId, String iProjectId, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, ACMClusterInfo iClusterInfo)
createAsymmetricReuse creates an ACMSessionReconstructor that will do the work to reconstruct a session in an asymmetric workflow (used by Library) and the flag to reuse the session is on@return
static ACMSessionReconstructor createSymmetricNew(IDSSXMLServerSession iServerSession, IDSSXMLSessionId iSessionId, String iProjectId, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, ACMClusterInfo iClusterInfo)
createSymmetricNew creates an ACMSessionReconstructor that will do the work to reconstruct a session in a symmetric workflow (used by Web) and the flag to reuse the session is off (default)@return
static ACMSessionReconstructor createSymmetricReuse(IDSSXMLServerSession iServerSession, IDSSXMLSessionId iSessionId, String iProjectId, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, ACMClusterInfo iClusterInfo)
createSymmetricReuse creates an ACMSessionReconstructor that will do the work to reconstruct a session in a symmetric workflow (used by Web) and the flag to reuse the session is on@return
abstract IDSSXMLSessionId getSessionId()
Protected Methods
abstract void createMasterSessionIdIfNeeded(IDSSXMLSessionId.IConfigSessionId lConfigSessionId, ACMJwt iACMJwt, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, int iIServerSessionIdleTimeout, boolean iIsCloseable)
abstract void createProjectSessionIfNeeded(IDSSXMLSessionId.IConfigSessionId iConfigSessionId, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, ACMJwt iACMJwt)
abstract IDSSXMLSessionId.IConfigSessionId getConfigSession(CDSSXMLServerSessionImpl.GetJwtReturn iNewSessionInfo)
abstract boolean isConfigSessionCloseable()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final ACMClusterInfo mClusterInfo

protected final String mProjectId

protected final CDSSXMLServerSessionImpl mServerSession

protected final IDSSXMLSessionId mSessionId

Protected Constructors

protected ACMSessionReconstructor (IDSSXMLServerSession iServerSession, IDSSXMLSessionId iSessionId, String iProjectId, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, ACMClusterInfo iClusterInfo)

ACMSessionReconstructor is the base constructor that drives the walk through the polymorhpic method

Public Methods

public static ACMSessionReconstructor createAsymmetricNew (IDSSXMLServerSession iServerSession, IDSSXMLSessionId iSessionId, String iProjectId, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, ACMClusterInfo iClusterInfo)

createAsymmetricNew creates an ACMSessionReconstructor that will do the work to reconstruct a session in an asymmetric workflow (used by Library) and the flag to reuse the session is off (default)@return

public static ACMSessionReconstructor createAsymmetricReuse (IDSSXMLServerSession iServerSession, IDSSXMLSessionId iSessionId, String iProjectId, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, ACMClusterInfo iClusterInfo)

createAsymmetricReuse creates an ACMSessionReconstructor that will do the work to reconstruct a session in an asymmetric workflow (used by Library) and the flag to reuse the session is on@return

public static ACMSessionReconstructor createSymmetricNew (IDSSXMLServerSession iServerSession, IDSSXMLSessionId iSessionId, String iProjectId, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, ACMClusterInfo iClusterInfo)

createSymmetricNew creates an ACMSessionReconstructor that will do the work to reconstruct a session in a symmetric workflow (used by Web) and the flag to reuse the session is off (default)@return

public static ACMSessionReconstructor createSymmetricReuse (IDSSXMLServerSession iServerSession, IDSSXMLSessionId iSessionId, String iProjectId, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, ACMClusterInfo iClusterInfo)

createSymmetricReuse creates an ACMSessionReconstructor that will do the work to reconstruct a session in a symmetric workflow (used by Web) and the flag to reuse the session is on@return

public abstract IDSSXMLSessionId getSessionId ()

Protected Methods

protected abstract void createMasterSessionIdIfNeeded (IDSSXMLSessionId.IConfigSessionId lConfigSessionId, ACMJwt iACMJwt, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, int iIServerSessionIdleTimeout, boolean iIsCloseable)

protected abstract void createProjectSessionIfNeeded (IDSSXMLSessionId.IConfigSessionId iConfigSessionId, ACMGSSCredential iGSSCredential, ACMCreateSessionParams iCSParams, ACMJwt iACMJwt)

protected abstract IDSSXMLSessionId.IConfigSessionId getConfigSession (CDSSXMLServerSessionImpl.GetJwtReturn iNewSessionInfo)

protected abstract boolean isConfigSessionCloseable ()