public class

ChainedBeanCreatorFactory

extends Object
java.lang.Object
   ↳ org.apache.commons.betwixt.io.read.ChainedBeanCreatorFactory

Class Overview

Group of factory methods for ChainedBeanCreator's. The standard implementations used by Betwixt are present here.

Summary

Public Constructors
ChainedBeanCreatorFactory()
Public Methods
final static ChainedBeanCreator createDerivedBeanCreator()
Creates a ChainedBeanCreator that constructs derived beans.
final static ChainedBeanCreator createElementTypeBeanCreator()
Creates a ChainedBeanCreator that constructs beans based on element type.
final static ChainedBeanCreator createIDREFBeanCreator()
Creates a ChainedBeanCreator that finds existing beans based on their IDREF.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ChainedBeanCreatorFactory ()

Public Methods

public static final ChainedBeanCreator createDerivedBeanCreator ()

Creates a ChainedBeanCreator that constructs derived beans. These have their classname set by an xml attribute.

Returns
  • ChainedBeanCreator that implements Derived beans logic, not null

public static final ChainedBeanCreator createElementTypeBeanCreator ()

Creates a ChainedBeanCreator that constructs beans based on element type.

Returns
  • ChainedBeanCreator that implements load by type beans logic, not null

public static final ChainedBeanCreator createIDREFBeanCreator ()

Creates a ChainedBeanCreator that finds existing beans based on their IDREF.

Returns
  • ChainedBeanCreator that implements IDREF beans logic, not null