hep.aida.web.taglib.util
Class TreeUtils

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

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

Author:
The FreeHEP team @ SLAC

Constructor Summary
TreeUtils()
           
 
Method Summary
static void closeTree(String storeName, String sessionId)
           
 void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
           
 void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
           
static hep.aida.ITree getTree(String storeName, String sessionId)
           
static hep.aida.ITree getTree(String storeName, String storeType, String options, String sessionId)
           
static hep.aida.ITree getTree(TreeTagSupport tag, 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,
                                     String sessionId)
                              throws IOException
Throws:
IOException

getTree

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

getTree

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

closeTree

public static void closeTree(String storeName,
                             String sessionId)
                      throws IOException
Throws:
IOException


Copyright © 2000-2011 FreeHEP. All Rights Reserved.