org.apache.avalon.composition.data.builder
Class ProfilePackageBuilder
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfilePackageBuilder
public ProfilePackageBuilder()
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 nameclazz
- the component class
- Returns:
- the profile package
- Throws:
Exception
- if a error occurs during package creation
Copyright © Apache Software Foundation. All Rights Reserved.