Class EnvConfiguration

    • Constructor Detail

      • EnvConfiguration

        public EnvConfiguration()
    • Method Detail

      • setJettyEnvXml

        public void setJettyEnvXml​(java.net.URL url)
      • bindEnvEntries

        public void bindEnvEntries​(WebAppContext context)
                            throws javax.naming.NamingException
        Bind all EnvEntries that have been declared, so that the processing of the web.xml file can potentially override them. We first bind EnvEntries declared in Server scope, then WebAppContext scope.
        Parameters:
        context - the context to use for the object scope
        Throws:
        javax.naming.NamingException - if unable to bind env entries
      • createEnvContext

        protected void createEnvContext​(WebAppContext wac)
                                 throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException