org.apache.commons.betwixt.io.read
Class ChainedBeanCreatorFactory

java.lang.Object
  extended by org.apache.commons.betwixt.io.read.ChainedBeanCreatorFactory

public class ChainedBeanCreatorFactory
extends java.lang.Object

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

Since:
0.5
Author:
Robert Burrell Donkin

Constructor Summary
ChainedBeanCreatorFactory()
           
 
Method Summary
static ChainedBeanCreator createDerivedBeanCreator()
          Creates a ChainedBeanCreator that constructs derived beans.
static ChainedBeanCreator createElementTypeBeanCreator()
          Creates a ChainedBeanCreator that constructs beans based on element type.
static ChainedBeanCreator createIDREFBeanCreator()
          Creates a ChainedBeanCreator that finds existing beans based on their IDREF.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainedBeanCreatorFactory

public ChainedBeanCreatorFactory()
Method Detail

createDerivedBeanCreator

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

createElementTypeBeanCreator

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

createIDREFBeanCreator

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


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