hep.aida.web.taglib.util
Class TreeUtils

java.lang.Object
  extended by hep.aida.web.taglib.util.TreeUtils
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionListener, javax.servlet.ServletContextListener

public class TreeUtils
extends java.lang.Object
implements javax.servlet.ServletContextListener, javax.servlet.http.HttpSessionListener

Author:
The FreeHEP team @ SLAC

Constructor Summary
TreeUtils()
           
 
Method Summary
static void closeTree(java.lang.String storeName, java.lang.String sessionId)
           
 void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
           
 void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
           
static hep.aida.ITree getTree(java.lang.String storeName, java.lang.String sessionId)
           
static hep.aida.ITree getTree(java.lang.String storeName, java.lang.String storeType, java.lang.String options, java.lang.String sessionId)
           
static hep.aida.ITree getTree(TreeTagSupport tag, java.lang.String sessionId)
           
 void sessionCreated(javax.servlet.http.HttpSessionEvent httpSessionEvent)
           
 void sessionDestroyed(javax.servlet.http.HttpSessionEvent httpSessionEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeUtils

public TreeUtils()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

sessionDestroyed

public void sessionDestroyed(javax.servlet.http.HttpSessionEvent httpSessionEvent)
Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener

sessionCreated

public void sessionCreated(javax.servlet.http.HttpSessionEvent httpSessionEvent)
Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener

getTree

public static hep.aida.ITree getTree(TreeTagSupport tag,
                                     java.lang.String sessionId)
                              throws java.io.IOException
Throws:
java.io.IOException

getTree

public static hep.aida.ITree getTree(java.lang.String storeName,
                                     java.lang.String storeType,
                                     java.lang.String options,
                                     java.lang.String sessionId)
                              throws java.io.IOException
Throws:
java.io.IOException

getTree

public static hep.aida.ITree getTree(java.lang.String storeName,
                                     java.lang.String sessionId)

closeTree

public static void closeTree(java.lang.String storeName,
                             java.lang.String sessionId)
                      throws java.io.IOException
Throws:
java.io.IOException


Copyright 2000-2007 FreeHEP. All Rights Reserved.