org.apache.avalon.composition.data.builder
Class ProfilePackageBuilder

java.lang.Object
  extended byorg.apache.avalon.composition.data.builder.ProfilePackageBuilder
All Implemented Interfaces:
ProfilePackageCreator

public final class ProfilePackageBuilder
extends Object
implements ProfilePackageCreator

A ProfileBuilder is responsible for building a ProfilePackage object from a source.

Version:
$Revision: 1.2 $ $Date: 2003/10/28 20:21:00 $
Author:
Avalon Development Team

Constructor Summary
ProfilePackageBuilder()
           
 
Method Summary
 ProfilePackage createProfilePackage(String name, Class clazz)
          Create a ProfilePackage from a type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilePackageBuilder

public ProfilePackageBuilder()
Method Detail

createProfilePackage

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

Specified by:
createProfilePackage in interface ProfilePackageCreator
Parameters:
name - the component type name
clazz - the component class
Returns:
the profile package
Throws:
Exception - if a error occurs during package creation


Copyright © Apache Software Foundation. All Rights Reserved.