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 class
TomcatEmbedded.Connector
Copy oforg.apache.catalina.Connector
class
TomcatEmbedded.Context
Copy oforg.apache.catalina.Context
class
TomcatEmbedded.Embedded
Copy oforg.apache.catalina.startup.Embedded
class
TomcatEmbedded.Engine
Copy oforg.apache.catalina.Engine
class
TomcatEmbedded.Host
Copy oforg.apache.catalina.Host
class
TomcatEmbedded.MemoryRealm
MemoryRealm 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
-
-