edu.mssm.crover.ims
Class IMS

java.lang.Object
  |
  +--edu.mssm.crover.ims.IMSObject
        |
        +--edu.mssm.crover.ims.IMS
All Implemented Interfaces:
TransactionManager

public class IMS
extends IMSObject
implements TransactionManager


Method Summary
 void abortTxn(java.lang.String txnName)
          Abort a transaction.
 void awake(java.lang.Object obj)
           
 void beginTxn(java.lang.String txnName)
          Begin a transaction.
 void commitTxn(java.lang.String txnName)
          Commit a transaction.
 void debugTxnStack()
           
static IMS get()
           
static IMS get(javax.servlet.ServletContext sc)
           
static IMS get(java.lang.String[] args)
           
 java.lang.String[] getArgs()
           
 org.odmg.Database getDB()
           
 IMSUserManager getIMSUserManager()
           
 javax.servlet.ServletContext getServletContext()
           
 IMSUser getSessionUser(IMSServletSession ims_ss)
           
 SubmissionManager getSubmissionManager()
          Get the singleton SubmissionManager.
static IMSUser getTempUser()
           
 org.odmg.Transaction getTxn()
           
protected  void init()
          synchronized b/c get() is overloaded 3 times and even though each get() method is synchronized, each get() may call on this method
protected  void initConstants()
           
protected  void initDB()
           
protected  void initManagers()
           
protected  void initPoetConfiguration()
           
protected  void initThreadLocals()
          synchronized b/c get() is overloaded 3 times and even though each get() method is synchronized, each get() may call on this method
 boolean txnInProgress()
           
 void waitForReadLock(java.lang.Object obj)
           
 void waitForWriteLock(java.lang.Object obj)
           
 
Methods inherited from class edu.mssm.crover.ims.IMSObject
debug, debug, error
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getServletContext

public javax.servlet.ServletContext getServletContext()

getArgs

public java.lang.String[] getArgs()

init

protected void init()
synchronized b/c get() is overloaded 3 times and even though each get() method is synchronized, each get() may call on this method


initConstants

protected void initConstants()

initPoetConfiguration

protected void initPoetConfiguration()

initDB

protected void initDB()

initThreadLocals

protected void initThreadLocals()
synchronized b/c get() is overloaded 3 times and even though each get() method is synchronized, each get() may call on this method


initManagers

protected void initManagers()

get

public static IMS get()

get

public static IMS get(javax.servlet.ServletContext sc)

get

public static IMS get(java.lang.String[] args)

beginTxn

public void beginTxn(java.lang.String txnName)
Begin a transaction.

Specified by:
beginTxn in interface TransactionManager

commitTxn

public void commitTxn(java.lang.String txnName)
Commit a transaction.

Specified by:
commitTxn in interface TransactionManager

abortTxn

public void abortTxn(java.lang.String txnName)
Abort a transaction.

Specified by:
abortTxn in interface TransactionManager

txnInProgress

public boolean txnInProgress()
Specified by:
txnInProgress in interface TransactionManager

getDB

public org.odmg.Database getDB()
Specified by:
getDB in interface TransactionManager

getTxn

public org.odmg.Transaction getTxn()

waitForReadLock

public void waitForReadLock(java.lang.Object obj)

waitForWriteLock

public void waitForWriteLock(java.lang.Object obj)

debugTxnStack

public void debugTxnStack()
Specified by:
debugTxnStack in interface TransactionManager

getSubmissionManager

public SubmissionManager getSubmissionManager()
Get the singleton SubmissionManager.


getIMSUserManager

public IMSUserManager getIMSUserManager()

getSessionUser

public IMSUser getSessionUser(IMSServletSession ims_ss)

awake

public void awake(java.lang.Object obj)

getTempUser

public static IMSUser getTempUser()


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.