org.apache.commons.betwixt.io.read
Interface ChainedBeanCreator


public interface ChainedBeanCreator

Creator of beans that may delegate responsibility to members down the chain.

Since:
0.5
Author:
Robert Burrell Donkin

Method Summary
 java.lang.Object create(ElementMapping elementMapping, ReadContext context, BeanCreationChain chain)
          Creates a bean either directly or by delegating the responsibility to the other members of the chain.
 

Method Detail

create

java.lang.Object create(ElementMapping elementMapping,
                        ReadContext context,
                        BeanCreationChain chain)
Creates a bean either directly or by delegating the responsibility to the other members of the chain.

Parameters:
elementMapping - specifies the mapping between the type and element. Note it is recommended that classes do not store a permenant reference to this object since these objects may later be reused. Not null
context - the context in which this converision happens, not null
chain - not null
Returns:
the Object created, possibly null


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.