com.sun.jersey.test.framework.spi.container.inmemory
Class InMemoryTestContainerFactory

java.lang.Object
  extended by com.sun.jersey.test.framework.spi.container.inmemory.InMemoryTestContainerFactory
All Implemented Interfaces:
TestContainerFactory

public class InMemoryTestContainerFactory
extends Object
implements TestContainerFactory

A low-level test container factory for creating test container instances when testing in memory without using underlying HTTP client and server side functionality to send requests and receive responses.

Author:
Srinivas.Bhimisetty@Sun.COM

Constructor Summary
InMemoryTestContainerFactory()
           
 
Method Summary
 TestContainer create(URI baseUri, AppDescriptor ad)
          Create a test container.
 Class<LowLevelAppDescriptor> 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

InMemoryTestContainerFactory

public InMemoryTestContainerFactory()
Method Detail

supports

public Class<LowLevelAppDescriptor> 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(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 © 2013 Oracle Corporation. All Rights Reserved.