org.jitr.container
Class JettyContainer

java.lang.Object
  extended by org.jitr.container.JettyContainer
All Implemented Interfaces:
Container<org.mortbay.jetty.Server>

public class JettyContainer
extends java.lang.Object
implements Container<org.mortbay.jetty.Server>

Jetty specific container wrapper.

Author:
Josh Devins (info@joshdevins.net)

Constructor Summary
JettyContainer()
           
 
Method Summary
 java.lang.String getName()
           
 org.mortbay.jetty.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

JettyContainer

public JettyContainer()
Method Detail

getName

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

getWrappedContainer

public org.mortbay.jetty.Server getWrappedContainer()
Specified by:
getWrappedContainer in interface Container<org.mortbay.jetty.Server>

initialize

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

start

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

stop

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


Copyright © 2009. All Rights Reserved.