Class RObjectGenerator

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.ServletContextListener

    public class RObjectGenerator
    extends java.lang.Object
    implements javax.servlet.ServletContextListener
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void contextDestroyed​(javax.servlet.ServletContextEvent event)  
      void contextInitialized​(javax.servlet.ServletContextEvent event)  
      RObject generateGraph​(java.lang.String requestedGraph, java.lang.String fileType, java.util.Map<java.lang.String,​java.lang.String[]> parameterMap, boolean checkCache)
      Generates a graph of the given type, given image file type, and with the given parameters, possibly after checking whether the cache already contains that graph.
      java.util.List<java.util.Map<java.lang.String,​java.lang.String>> generateTable​(java.lang.String requestedTable, java.util.Map<java.lang.String,​java.lang.String[]> parameterMap, boolean checkCache)
      Generates a table of the given type and with the given parameters, possibly after checking whether the cache already contains that table.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RObjectGenerator

        public RObjectGenerator()
    • Method Detail

      • contextInitialized

        public void contextInitialized​(javax.servlet.ServletContextEvent event)
        Specified by:
        contextInitialized in interface javax.servlet.ServletContextListener
      • contextDestroyed

        public void contextDestroyed​(javax.servlet.ServletContextEvent event)
        Specified by:
        contextDestroyed in interface javax.servlet.ServletContextListener
      • generateGraph

        public RObject generateGraph​(java.lang.String requestedGraph,
                                     java.lang.String fileType,
                                     java.util.Map<java.lang.String,​java.lang.String[]> parameterMap,
                                     boolean checkCache)
        Generates a graph of the given type, given image file type, and with the given parameters, possibly after checking whether the cache already contains that graph.
      • generateTable

        public java.util.List<java.util.Map<java.lang.String,​java.lang.String>> generateTable​(java.lang.String requestedTable,
                                                                                                    java.util.Map<java.lang.String,​java.lang.String[]> parameterMap,
                                                                                                    boolean checkCache)
        Generates a table of the given type and with the given parameters, possibly after checking whether the cache already contains that table.