Class AbstractCatalinaStandaloneLocalConfiguration

    • Method Detail

      • escapePath

        protected String escapePath​(String path)
        Escapes a Windows path: backslashes become slashes, drive paths get prefixed with a slash.
        Parameters:
        path - Path to escape.
        Returns:
        Escaped path.
      • setupTransactionManager

        protected abstract void setupTransactionManager()
        Adds an implementation of UserTransaction to the configuration.
      • setupManager

        protected abstract void setupManager​(LocalContainer container)
        Setup the manager webapp.
        Parameters:
        container - the container to configure
      • getTomcatLoggingLevel

        protected String getTomcatLoggingLevel​(String cargoLoggingLevel)
        Translate Cargo logging levels into Tomcat logging levels.
        Parameters:
        cargoLoggingLevel - Cargo logging level
        Returns:
        the corresponding Tomcat logging level
      • createTomcatWebappsToken

        protected String createTomcatWebappsToken()
        Create the Tomcat <webapp> token.
        Returns:
        The Tomcat <webapp> token.
      • createContextToken

        protected String createContextToken​(WAR deployable)
        Parameters:
        deployable - the WAR to deploy
        Returns:
        the "context" XML element to instert in the Tomcat server.xml configuration file
      • getSecurityToken

        protected String getSecurityToken()
        Returns:
        an Ant filter token containing all the user-defined users
      • setupConfFiles

        protected abstract void setupConfFiles​(String confDir)
        setup the files in the configuration's conf directory.
        Parameters:
        confDir - - the conf directory.