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.
        classLoader - the class loader used to load Tomcat classes. Can be null.
        Exception - if an error happens when creating the Tomcat objects by reflection