Class TomcatEmbedded


  • public final class TomcatEmbedded
    extends Object
    Wrapper classes around Tomcat embedded API to hide reflection.
    • Constructor Detail

      • TomcatEmbedded

        public TomcatEmbedded​(ClassLoader classLoader)
                       throws Exception
        Prepares the reflection access to Tomcat.
        Parameters:
        classLoader - the class loader used to load Tomcat classes. Can be null.
        Throws:
        Exception - if an error happens when creating the Tomcat objects by reflection