org.apache.pluto.util.assemble.ear
Class EarAssembler
java.lang.Object
org.apache.pluto.util.assemble.WebXmlRewritingAssembler
org.apache.pluto.util.assemble.AbstractArchiveAssembler
org.apache.pluto.util.assemble.ear.EarAssembler
- All Implemented Interfaces:
- Assembler
public class EarAssembler
- extends AbstractArchiveAssembler
Assembles war files contained inside of an EAR. War files that do
not contain a portlet.xml are not assembled. All files are copied
into the destination archive.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EarAssembler
public EarAssembler()
assembleInternal
public void assembleInternal(AssemblerConfig config)
throws UtilityException,
IOException
- Description copied from class:
AbstractArchiveAssembler
- Assemble the source file to the destination file. The superclass is responsible for ensuring
correct and not-null values for the source and destination, and for temporary file handling
used during in-place assembly.
- Specified by:
assembleInternal
in class AbstractArchiveAssembler
- Parameters:
config
- the assembler configuration object
- Throws:
UtilityException
IOException
getAssemblySink
protected org.apache.pluto.util.assemble.ear.AssemblySink getAssemblySink(AssemblerConfig config,
JarEntry entry)
throws IOException
- Obtain a sink used as a temporary container for assembled war bytes. By default a
filesystem based sink is used.
- Parameters:
config
- the AssemblerConfigentry
- the JarEntry
- Returns:
- the AssemblySink
- Throws:
IOException
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.