com.syrtsov.ddao.factory
Class StatementFactoryManager

java.lang.Object
  extended by com.syrtsov.ddao.factory.StatementFactoryManager

public class StatementFactoryManager
extends java.lang.Object

StatementFactoryManager maintains lazy loaded cache of mappings of method objects to StatementFactory implementations.

Created by Pavel Syrtsov Date: Nov 3, 2007 Time: 5:11:13 PM


Field Summary
static java.lang.Class<? extends StatementFactory> defaultStatementFactory
          default implementation class
 
Constructor Summary
StatementFactoryManager()
           
 
Method Summary
static StatementFactory createStatementFactory(java.lang.reflect.Method method, java.lang.String sql)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultStatementFactory

public static java.lang.Class<? extends StatementFactory> defaultStatementFactory
default implementation class

Constructor Detail

StatementFactoryManager

public StatementFactoryManager()
Method Detail

createStatementFactory

public static StatementFactory createStatementFactory(java.lang.reflect.Method method,
                                                      java.lang.String sql)
                                               throws StatementFactoryException
Throws:
StatementFactoryException