org.mule.transport.jdbc.sqlstrategy
Class SQLStrategyFactory

java.lang.Object
  extended by org.mule.transport.jdbc.sqlstrategy.SQLStrategyFactory

public class SQLStrategyFactory
extends Object

Factory that selects appropriate implementation of SQLStrategy for a particular SQL string


Field Summary
protected  CallableSQLStrategy callableSQLStrategy
           
protected  SelectSQLStrategy selectSQLStrategy
           
protected  SimpleUpdateSQLStrategy simpleUpdateSQLStrategy
           
 
Constructor Summary
SQLStrategyFactory()
           
 
Method Summary
 SQLStrategy create(String sql, Object payload)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simpleUpdateSQLStrategy

protected SimpleUpdateSQLStrategy simpleUpdateSQLStrategy

selectSQLStrategy

protected SelectSQLStrategy selectSQLStrategy

callableSQLStrategy

protected CallableSQLStrategy callableSQLStrategy
Constructor Detail

SQLStrategyFactory

public SQLStrategyFactory()
Method Detail

create

public SQLStrategy create(String sql,
                          Object payload)
                   throws Exception
Throws:
Exception


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.