net.dpml.metro.tools
Interface PartReferenceBuilder

All Known Implementing Classes:
ComponentBuilderTask, EntryDataType, PartDataType

public interface PartReferenceBuilder

The contract for builders that create component part.

Version:
1.2.0
Author:
Digital Product Meta Library

Method Summary
 PartReference buildPartReference(ClassLoader classloader, Type type)
          Build the part.
 String getKey()
          Return the key identifying the part that this builder is building.
 

Method Detail

getKey

String getKey()
Return the key identifying the part that this builder is building.

Returns:
the part key

buildPartReference

PartReference buildPartReference(ClassLoader classloader,
                                 Type type)
                                 throws IntrospectionException,
                                        IOException,
                                        ClassNotFoundException
Build the part.

Parameters:
classloader - the classloader to use if type creation is required
type - the underlying part type
Returns:
th part reference
Throws:
IntrospectionException - if a class introspection error occurs
IOException - if an I/O error occurs
ClassNotFoundException - if a referenced class cannot be found