com.atlassian.renderer.v2.plugin
Interface RendererComponentFactory


public interface RendererComponentFactory

Factory for creating an instance of a RendererComponent. Used by the RendererComponentModuleDescriptor to instantiate components that may need complex construction logic.


Method Summary
 RendererComponent getComponentInstance(Map parameters)
          Get an instance of the component.
 

Method Detail

getComponentInstance

RendererComponent getComponentInstance(Map parameters)
Get an instance of the component. A map of parameters may be supplied to configure the component. The contents and operation of that map are dependent on the factory implementation.

Whether the component returned is a new instance or not is also up to the factory implementation.

Parameters:
parameters - a map of implementation-specific parameters
Returns:
an instance of the component to be created


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.