org.apache.aries.web.converter.impl
Class WarToWabConverterService
java.lang.Object
org.apache.aries.web.converter.impl.WarToWabConverterService
- All Implemented Interfaces:
- WarToWabConverter
public class WarToWabConverterService
- extends Object
- implements WarToWabConverter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WarToWabConverterService
public WarToWabConverterService()
convert
public WabConversion convert(WarToWabConverter.InputStreamProvider input,
String name,
Properties properties)
throws IOException
- Description copied from interface:
WarToWabConverter
- Generate the converter WAB file. This file includes all the files from the input
and has the new manifest.
- Specified by:
convert
in interface WarToWabConverter
name
- The name of the war fileproperties
- Properties to influence the conversion as defined in RFC66. The following
properties are supported
- Bundle-ClassPath
- Bundle-ManifestVersion
- Bundle-SymbolicName
- Bundle-Version
- Import-Package
- Web-ContextPath
- Web-JSPExtractLocation
Except for Bundle-ClassPath and Import-Package any supplied properties will
overwrite values specified in an existing bundle manifest. For Bundle-ClassPath and Import-Package
the supplied values will be joined to those specified in a bundle manifest
(if it exists) and also the results of the scan of the WAR file.
- Returns:
-
- Throws:
IOException
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.