org.jitr.container
Class TomcatContainer

java.lang.Object
  extended by org.jitr.container.TomcatContainer
All Implemented Interfaces:
Container<org.apache.catalina.Server>

public class TomcatContainer
extends java.lang.Object
implements Container<org.apache.catalina.Server>

Tomcat specific container wrapper.

Author:
Josh Devins (info@joshdevins.net)

Constructor Summary
TomcatContainer()
           
 
Method Summary
 java.lang.String getName()
           
 org.apache.catalina.Server getWrappedContainer()
           
 javax.servlet.ServletContext initialize(ConfigurationModel configuration, java.lang.annotation.Annotation[] testClassAnnotations)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TomcatContainer

public TomcatContainer()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Container<org.apache.catalina.Server>

getWrappedContainer

public org.apache.catalina.Server getWrappedContainer()
Specified by:
getWrappedContainer in interface Container<org.apache.catalina.Server>

initialize

public javax.servlet.ServletContext initialize(ConfigurationModel configuration,
                                               java.lang.annotation.Annotation[] testClassAnnotations)
Specified by:
initialize in interface Container<org.apache.catalina.Server>

start

public void start()
           throws ContainerOperationException
Specified by:
start in interface Container<org.apache.catalina.Server>
Throws:
ContainerOperationException

stop

public void stop()
          throws ContainerOperationException
Specified by:
stop in interface Container<org.apache.catalina.Server>
Throws:
ContainerOperationException


Copyright © 2009. All Rights Reserved.