A C D E M R S 

A

addAllDependenciesAsResourceJar() - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Adds all the dependencies specified in the pom.xml (except scope provided) to the context as a resource jar.
addContextEnvironment(ContextEnvironment) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Adds a ContextEnvironment object to embedded Tomcat.
addContextEnvironment(String, String, String) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Convenient method for adding a context environment to the embedded Tomcat.
addContextEnvironmentString(String, String) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Convenient method for adding a context environment with type java.lang.String to the embedded Tomcat.
addContextResource(ContextResource) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Adds a ContextResource object to the list of resources in the embedded Tomcat.
addDependencyAsResourceJar(String, String) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Adds the specified jar to the context as a resource jar.
addInitializer(Class<? extends ServletContainerInitializer>, Class<?>) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Adds a container initializer to the list of initializers.

C

ch.ralscha.embeddedtc - package ch.ralscha.embeddedtc
 

D

dontAddShutdownHook() - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
The EmbeddedTomcat opens as default a shutdown port on port + 1000 with the shutdown command EMBEDDED_TC_SHUTDOWN Calling this method disables adding the shutdown hook.

E

EmbeddedTomcat - Class in ch.ralscha.embeddedtc
Helper class to simplify setting up a Embedded Tomcat in a IDE and with a Maven web project.
EmbeddedTomcat() - Constructor for class ch.ralscha.embeddedtc.EmbeddedTomcat
Creates an embedded Tomcat with context path "/" and port 8080.
EmbeddedTomcat(int) - Constructor for class ch.ralscha.embeddedtc.EmbeddedTomcat
Creates an embedded Tomcat with context path "/" and specified port.
EmbeddedTomcat(String, int) - Constructor for class ch.ralscha.embeddedtc.EmbeddedTomcat
Creates an embedded Tomcat with specified context path and specified port.

M

main(String[]) - Static method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Starts a embedded Tomcat on port 8080 with context path "/" and context directory current directory + /src/main/webapp

R

removeDefaultServlet() - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Calling this method prevents adding the DefaultServlet to the context.

S

setContextDirectory(String) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Sets the context directory.
setM2Directory(File) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Sets the path to the Maven local repository.
setPomFile(File) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Sets the location of the pom file.
setSecondsToWaitBeforePortBecomesAvailable(int) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Before starting the embedded Tomcat the programm tries to stop a previous process by sendig the shutdown command to the shutdown port.
setShutdownPort(int) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Specifies the port the server is listen for the shutdown command.
setTempDirectory(File) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Sets the location of the temporary directory.
setTempDirectoryName(String) - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Sets the temporary directory to a directory beneath System.getProperty("java.io.tmpdir")
The directory does not have to exists, Tomcat will create it automatically if necessary.
start() - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Starts the embedded Tomcat.
stop() - Method in class ch.ralscha.embeddedtc.EmbeddedTomcat
Stops the embedded tomcat.
A C D E M R S 

Copyright © 2012. All Rights Reserved.