org.apache.avalon.composition.data.builder
Interface ProfilePackageCreator

All Known Implementing Classes:
ProfilePackageBuilder, SerializedProfilePackageCreator

public interface ProfilePackageCreator

Interface used to create a ProfilePackage from an input stream.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/08/31 14:28:12 $
Author:
Avalon Development Team

Method Summary
 ProfilePackage createProfilePackage(String name, Class clazz)
          Create a ProfilePackage from a class reference.
 

Method Detail

createProfilePackage

public ProfilePackage createProfilePackage(String name,
                                           Class clazz)
                                    throws Exception
Create a ProfilePackage from a class reference.

Parameters:
clazz - the component class
Returns:
the profile package
Throws:
Exception - if a error occurs during package creation


Copyright © Apache Software Foundation. All Rights Reserved.