public interface

ChainedBeanCreator

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

Class Overview

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

Summary

Public Methods
abstract 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.

Public Methods

public abstract 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