com.bareflow
Interface IComponentRegistry


public interface IComponentRegistry

This interface represents a registry of all the components for a module. There is only one component registry created for a module.


Method Summary
 java.lang.Object getComponent(java.lang.Object model, IBuilderContext builderContext)
          Returns a component for the given model object
 

Method Detail

getComponent

java.lang.Object getComponent(java.lang.Object model,
                              IBuilderContext builderContext)
                              throws BareflowException
Returns a component for the given model object

Parameters:
model - model object to build component from
builderContext - builder context
Returns:
a component for the given model object
Throws:
BareflowException - if component cannot be instantiated