org.jitr.core
Interface Container<T>

Type Parameters:
T - The raw type of the container this is wrapping.
All Known Implementing Classes:
JettyContainer, TomcatContainer

public interface Container<T>

A generic wrapper around specific containers.

TODO: Possibly add status methods like isRunning, etc.

Author:
Josh Devins (info@joshdevins.net)

Method Summary
 java.lang.String getName()
           
 T getWrappedContainer()
           
 javax.servlet.ServletContext initialize(ConfigurationModel configuration, java.lang.annotation.Annotation[] testClassAnnotations)
           
 void start()
           
 void stop()
           
 

Method Detail

getName

java.lang.String getName()

getWrappedContainer

T getWrappedContainer()

initialize

javax.servlet.ServletContext initialize(ConfigurationModel configuration,
                                        java.lang.annotation.Annotation[] testClassAnnotations)

start

void start()
           throws ContainerOperationException
Throws:
ContainerOperationException

stop

void stop()
          throws ContainerOperationException
Throws:
ContainerOperationException


Copyright © 2009. All Rights Reserved.