Class Tomcat5xEmbeddedLocalContainer

    • Constructor Detail

      • Tomcat5xEmbeddedLocalContainer

        public Tomcat5xEmbeddedLocalContainer​(LocalConfiguration configuration)
        Creates a Tomcat 5.x EmbeddedLocalContainer.
        configuration - the configuration of the newly created container.
    • Method Detail

      • getId

        public String getId()
        the short name of the container. Note: this is not a unique id. It is simply the name in a computer-usable format.
      • getName

        public String getName()
        the human readable name of the Container (ex: "Resin 3.x", "JBoss 3.0.8", etc).
      • prepareController

        protected void prepareController​(TomcatEmbedded wrapper,
                                         File home,
                                         int port)
        Prepare the Tomcat controller. After this method returns, the host and connector protected attributes must be set.
        Specified by:
        prepareController in class AbstractCatalinaEmbeddedLocalContainer
        wrapper - Tomcat wrapper.
        home - CATALINA_BASE directory.
        port - HTTP port.