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

java.lang.Object
  extended byorg.apache.commons.betwixt.io.read.ReadConfiguration

public class ReadConfiguration
extends java.lang.Object

Stores mapping phase configuration settings that apply only for bean reading.

Since:
0.5
Author:
Robert Burrell Donkin

Field Summary
private  ActionMappingStrategy actionMappingStrategy
          Pluggable strategy used to determine free mappings
private  BeanCreationChain beanCreationChain
          Chain used to create beans defaults to BeanCreationChain.createDefaultChain()
 
Constructor Summary
ReadConfiguration()
           
 
Method Summary
 ActionMappingStrategy getActionMappingStrategy()
          Gets the ActionMappingStrategy used to define default mapping actions.
 BeanCreationChain getBeanCreationChain()
          Gets the BeanCreationChain that should be used to construct beans.
 void setActionMappingStrategy(ActionMappingStrategy actionMappingStrategy)
          Sets the ActionMappingStrategy used to define default mapping acitons.
 void setBeanCreationChain(BeanCreationChain beanCreationChain)
          Sets the BeanCreationChain that should be used to construct beans.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beanCreationChain

private BeanCreationChain beanCreationChain
Chain used to create beans defaults to BeanCreationChain.createDefaultChain()


actionMappingStrategy

private ActionMappingStrategy actionMappingStrategy
Pluggable strategy used to determine free mappings

Constructor Detail

ReadConfiguration

public ReadConfiguration()
Method Detail

getBeanCreationChain

public BeanCreationChain getBeanCreationChain()
Gets the BeanCreationChain that should be used to construct beans.

Returns:
the BeanCreationChain to use, not null

setBeanCreationChain

public void setBeanCreationChain(BeanCreationChain beanCreationChain)
Sets the BeanCreationChain that should be used to construct beans.

Parameters:
beanCreationChain - the BeanCreationChain to use, not null

getActionMappingStrategy

public ActionMappingStrategy getActionMappingStrategy()
Gets the ActionMappingStrategy used to define default mapping actions.

Returns:
ActionMappignStrategy, not null

setActionMappingStrategy

public void setActionMappingStrategy(ActionMappingStrategy actionMappingStrategy)
Sets the ActionMappingStrategy used to define default mapping acitons.

Parameters:
actionMappingStrategy - ActionMappignStrategy, not null