com.ibatis.sqlmap.engine.exchange

Class DataExchangeFactory

public class DataExchangeFactory extends Object

Factory for DataExchange objects
Constructor Summary
DataExchangeFactory(TypeHandlerFactory typeHandlerFactory)
Constructor for the factory
Method Summary
DataExchangegetDataExchangeForClass(Class clazz)
Get a DataExchange object for the passed in Class
TypeHandlerFactorygetTypeHandlerFactory()
Getter for the type handler factory

Constructor Detail

DataExchangeFactory

public DataExchangeFactory(TypeHandlerFactory typeHandlerFactory)
Constructor for the factory

Parameters: typeHandlerFactory - a type handler factory for the factory

Method Detail

getDataExchangeForClass

public DataExchange getDataExchangeForClass(Class clazz)
Get a DataExchange object for the passed in Class

Parameters: clazz - the class to get a DataExchange object for

Returns: - the DataExchange object

getTypeHandlerFactory

public TypeHandlerFactory getTypeHandlerFactory()
Getter for the type handler factory

Returns: - the type handler factory

Copyright © 2011. All Rights Reserved.