Class JavaSeContainer
java.lang.Object
com.sun.xml.ws.test.container.AbstractApplicationContainer
com.sun.xml.ws.test.container.javase.JavaSeContainer
- All Implemented Interfaces:
ApplicationContainer
Container to deploy Java SE endpoints using java.xml.ws.Endpoint API
- Author:
- Ken Hofsass, Jitendra Kotamraju
-
Constructor Summary
ConstructorsConstructorDescriptionJavaSeContainer(WsTool wsimport, WsTool wsgen, int port, Set<String> unsupportedUses) -
Method Summary
Modifier and TypeMethodDescriptiondeploy(DeployedService service) Starts a service inside a container, making it ready to process requests.Returns the transport that this container uses for testing.Returns the unsupported uses for this container.voidshutdown()Stops the container.voidstart()Starts the container.Methods inherited from class com.sun.xml.ws.test.container.AbstractApplicationContainer
assembleWar, copyRuntimeLibraries, createWARZip, updateWsgenOpts, updateWsitClient
-
Constructor Details
-
JavaSeContainer
-
-
Method Details
-
getUnsupportedUses
Description copied from interface:ApplicationContainerReturns the unsupported uses for this container. For e.g lwhs container may return "servlet" as an unsupported "use"- Specified by:
getUnsupportedUsesin interfaceApplicationContainer- Overrides:
getUnsupportedUsesin classAbstractApplicationContainer- Returns:
- unsupported uses like "servlet", "nonapi" etc the returned value is compared againt descriptor's "uses" decl to decide wheter to run a test or not.
-
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
Description copied from interface:ApplicationContainerStarts the container. This is invoked at the very beginning before any service is deployed.- Throws:
Exception
-
shutdown
public void shutdown()Description copied from interface:ApplicationContainerStops the container. This is invoked at the end to clean up any resources. -
deploy
Description copied from interface:ApplicationContainerStarts a service inside a container, making it ready to process requests.- Throws:
Exception
-