Package org.glassfish.jersey.test.spi
Interface TestContainerFactory
-
public interface TestContainerFactory
A test container factory responsible for creating test containers.- Author:
- Paul Sandoz, Marek Potociar
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestContainer
create(URI baseUri, DeploymentContext deploymentContext)
Create a test container instance.
-
-
-
Method Detail
-
create
TestContainer create(URI baseUri, DeploymentContext deploymentContext)
Create a test container instance.- Parameters:
baseUri
- base URI for the test container to run at.deploymentContext
- deployment context of the tested JAX-RS / Jersey application .- Returns:
- new test container configured to run the tested application.
- Throws:
IllegalArgumentException
- ifdeploymentContext
is not supported by this test container factory.
-
-