Skip navigation links


com.essbase.eas.server
Class SessionLogic

java.lang.Object
  extended by com.essbase.eas.server.SessionLogic


public class SessionLogic
extends java.lang.Object

SessionLogic This class controls access by the SessionManager to the Primitives. Like all logic classes, it is instantiated long enough to access methods needed by one command.

Version:
1.00 05/10/2000 1.1.0, 08/04/2000 Upgraded to PW Framework 0.9
Author:
Brendan Gaul

Constructor Summary
SessionLogic()
           

 

Method Summary
 boolean connect(ISession session)
          This method attempts to connect an ISession to a database.
 ISession create(java.util.ArrayList serverParameters)
          This method creates an unconnected ISession object.
 boolean disconnect(ISession session)
          This method disconnects an ISession from a database
 boolean isConnected(ISession session)
          This method polls an ISession for its connectedness state
 java.util.HashMap login(java.lang.String username, java.lang.String password, java.util.Locale locale)
          This method polls the authenticator to get the session connection parameters associated with the intersection of the input arguments.
 boolean reconnect(ISession session)
          This method attempts to reconnect an ISession to a database.
 void relogin(java.lang.String username, java.lang.String password, java.util.HashMap loginParameters, java.util.Locale locale)
          Here we relogin possibly revalidating a CSS token

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SessionLogic

public SessionLogic()

Method Detail

login

public java.util.HashMap login(java.lang.String username,
                               java.lang.String password,
                               java.util.Locale locale)
                        throws MessageException
This method polls the authenticator to get the session connection parameters associated with the intersection of the input arguments.
Throws:
MessageException

relogin

public void relogin(java.lang.String username,
                    java.lang.String password,
                    java.util.HashMap loginParameters,
                    java.util.Locale locale)
             throws MessageException
Here we relogin possibly revalidating a CSS token
Throws:
MessageException

create

public ISession create(java.util.ArrayList serverParameters)
This method creates an unconnected ISession object. Presumes that the first sessionParameter (in position 0) is the class name (and thus identifier) of desired ISession implementation

connect

public boolean connect(ISession session)
                throws java.lang.Exception
This method attempts to connect an ISession to a database.
Throws:
java.lang.Exception

reconnect

public boolean reconnect(ISession session)
                  throws java.lang.Exception
This method attempts to reconnect an ISession to a database.
Throws:
java.lang.Exception

disconnect

public boolean disconnect(ISession session)
This method disconnects an ISession from a database

isConnected

public boolean isConnected(ISession session)
This method polls an ISession for its connectedness state

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.