Class InVmContainer
- java.lang.Object
-
- com.sun.xml.ws.test.container.AbstractApplicationContainer
-
- com.sun.xml.ws.test.container.invm.InVmContainer
-
- All Implemented Interfaces:
ApplicationContainer
public class InVmContainer extends AbstractApplicationContainer
ApplicationContainerfor the local transport.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description InVmContainer(WsTool wsimport, WsTool wsgen)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Applicationdeploy(DeployedService service)Starts a service inside a container, making it ready to process requests.StringgetTransport()Returns the transport that this container uses for testing.voidshutdown()Stops the container.voidstart()Starts the container.-
Methods inherited from class com.sun.xml.ws.test.container.AbstractApplicationContainer
assembleWar, copyRuntimeLibraries, createWARZip, getUnsupportedUses, updateWsgenOpts, updateWsitClient
-
-
-
-
Method Detail
-
getTransport
public String getTransport()
Description copied from interface:ApplicationContainerReturns the transport that this container uses for testing.- Returns:
- For example, "http", "local", "tcp", "jms", etc. It should match the scheme portion of the endpoint address URI. Never null. This value is compared in the descriptor's transport declaration to decide wheter to run a test or not.
-
start
public void start()
Description copied from interface:ApplicationContainerStarts the container. This is invoked at the very beginning before any service is deployed.
-
shutdown
public void shutdown()
Description copied from interface:ApplicationContainerStops the container. This is invoked at the end to clean up any resources.
-
deploy
@NotNull public Application deploy(DeployedService service) throws Exception
Description copied from interface:ApplicationContainerStarts a service inside a container, making it ready to process requests.- Throws:
Exception
-
-