Class TomcatEmbedded
- java.lang.Object
-
- org.codehaus.cargo.container.tomcat.internal.TomcatEmbedded
-
public final class TomcatEmbedded extends Object
Wrapper classes around Tomcat embedded API to hide reflection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classTomcatEmbedded.ConnectorCopy oforg.apache.catalina.ConnectorclassTomcatEmbedded.ContextCopy oforg.apache.catalina.ContextclassTomcatEmbedded.EmbeddedCopy oforg.apache.catalina.startup.EmbeddedclassTomcatEmbedded.EngineCopy oforg.apache.catalina.EngineclassTomcatEmbedded.HostCopy oforg.apache.catalina.HostclassTomcatEmbedded.MemoryRealmMemoryRealm wrapper.
-
Constructor Summary
Constructors Constructor Description TomcatEmbedded(ClassLoader classLoader)Prepares the reflection access to Tomcat.
-
-
-
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
-
-