com.sun.jersey.test.framework.spi.container.grizzly.web
Class GrizzlyWebTestContainerFactory

java.lang.Object
  extended by com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory
All Implemented Interfaces:
TestContainerFactory

public class GrizzlyWebTestContainerFactory
extends java.lang.Object
implements TestContainerFactory

A Web-based test container factory for creating test container instances using Grizzly.

Author:
Srinivas.Bhimisetty@Sun.COM

Constructor Summary
GrizzlyWebTestContainerFactory()
           
 
Method Summary
 TestContainer create(java.net.URI baseUri, AppDescriptor ad)
          Create a test container.
 java.lang.Class<WebAppDescriptor> supports()
          Get the application descriptor class supported by this test container factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrizzlyWebTestContainerFactory

public GrizzlyWebTestContainerFactory()
Method Detail

supports

public java.lang.Class<WebAppDescriptor> supports()
Description copied from interface: TestContainerFactory
Get the application descriptor class supported by this test container factory.

Specified by:
supports in interface TestContainerFactory
Returns:
the application descriptor class supported by this test container factory.

create

public TestContainer create(java.net.URI baseUri,
                            AppDescriptor ad)
Description copied from interface: TestContainerFactory
Create a test container.

Specified by:
create in interface TestContainerFactory
Parameters:
baseUri - the base URI of the application.
ad - the application descriptor.
Returns:
the test container.


Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved.