Package com.sun.xml.ws.test.container
Class AbstractApplicationContainer
java.lang.Object
com.sun.xml.ws.test.container.AbstractApplicationContainer
- All Implemented Interfaces:
ApplicationContainer
- Direct Known Subclasses:
EmbeddedCargoApplicationContainer,GlassfishContainer,InstalledCargoApplicationContainer,InVmContainer,JavaSeContainer,LocalApplicationContainer,RemoteCargoApplicationContainer
Base implementation of
ApplicationContainer.
This implementation provides code for common tasks, such as assembling files into a war, etc.
- Author:
- Kohsuke Kawaguchi, Ken Hofsass
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractApplicationContainer(WsTool wsimport, WsTool wsgen, boolean httpspi) -
Method Summary
Modifier and TypeMethodDescriptionprotected WARassembleWar(DeployedService service) Prepares an exploded war file image for this service.protected booleanCopy JAX-WS runtime code?protected final WARcreateWARZip(DeployedService service, File archive) Prepares a fully packaged war file to the specified location.Returns the unsupported uses for this container.protected voidupdateWsgenOpts(TestService service) protected voidupdateWsitClient(WAR war, DeployedService deployedService, String id) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.ws.test.container.ApplicationContainer
deploy, getTransport, shutdown, start
-
Constructor Details
-
AbstractApplicationContainer
-
-
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- 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.
-
assembleWar
Prepares an exploded war file image for this service.- Throws:
Exception
-
updateWsgenOpts
-
updateWsitClient
protected void updateWsitClient(WAR war, DeployedService deployedService, String id) throws Exception - Throws:
Exception
-
createWARZip
Prepares a fully packaged war file to the specified location.- Throws:
Exception
-
copyRuntimeLibraries
protected boolean copyRuntimeLibraries()Copy JAX-WS runtime code?
-