org.apache.avalon.phoenix.tools.assembler
Class Assembler
org.apache.avalon.phoenix.tools.assembler.Assembler
- public class Assembler
Assemble a SarMetaData
object from a Configuration
object. The Configuration object represents the assembly descriptor
and is in the format specified for assembly.xml
files.
- Version:
- $Revision: 1.18 $ $Date: 2002/08/06 11:57:42 $
- Author:
- Peter Donald
Assembler
public Assembler()
enableLogging
public void enableLogging(Logger logger)
- Overidden setLogger() method to setup BlockInfoBuilder
logger simultaneously.
- Parameters:
logger
- the logger to use
assembleSar
public SarMetaData assembleSar(String name,
Configuration assembly,
File directory,
ClassLoader classLoader)
throws AssemblyException
- Create a
SarMetaData
object based on specified
name and assembly configuration.
- Parameters:
name
- the name of Sarassembly
- the assembly configuration objectdirectory
- the directory Sar installed toclassLoader
- the ClassLoader from which resources
are loaded (such as meta-data).- Returns:
- the new SarMetaData
- Throws:
AssemblyException
- if an error occurs
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.