Package digilib.conf

Class ManifestServletConfiguration

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

    @WebListener
    public class ManifestServletConfiguration
    extends DigilibServletConfiguration
    Class to hold the digilib servlet configuration parameters. The parameters can be read from the digilib-config file and be passed to other servlets or beans.
    Author:
    casties
    • Constructor Detail

      • ManifestServletConfiguration

        public ManifestServletConfiguration()
        Constructs DigilibServletConfiguration and defines all parameters and their default values.
    • Method Detail

      • getClassVersion

        public static String getClassVersion()
      • getCurrentConfig

        public static DigilibServletConfiguration getCurrentConfig​(javax.servlet.ServletContext context)
        Returns the current ManifestServletConfiguration from the context.
        Parameters:
        context - the ServletContext
        Returns:
        the DigilibServletConfiguration
      • getContextConfig

        protected DigilibServletConfiguration getContextConfig​(javax.servlet.ServletContext context)
        Returns the current DigilibConfiguration from the context. (non-static method, for Java inheritance)
        Overrides:
        getContextConfig in class DigilibServletConfiguration
        Parameters:
        context - the ServletContext
        Returns:
        the DigilibServletConfiguration