org.kuali.common.jdbc.spring
Class SqlConfigUtils

java.lang.Object
  extended by org.kuali.common.jdbc.spring.SqlConfigUtils

public class SqlConfigUtils
extends Object


Field Summary
static String LIST_SUFFIX
           
static String SQL_ORDER_KEY
           
static String SQL_PREFIX
           
 
Constructor Summary
SqlConfigUtils()
           
 
Method Summary
protected static JdbcContext getBaseJdbcContext(SqlConfigContext scc)
           
static DataSummaryListener getConcurrentDataSummaryListener(SqlConfigContext rcc)
           
static JdbcContext getConcurrentJdbcContext(SqlConfigContext rcc)
           
static NotifyingListener getConstraintsListener(org.springframework.core.env.Environment env)
           
static JdbcContext getJdbcContext(SqlConfigContext scc)
           
static JdbcExecutable getJdbcExecutable(SqlConfigContext scc)
           
static List<String> getLocations(org.springframework.core.env.Environment env, String key, String suffix)
           
static LogSqlListener getLogSqlListener(org.springframework.core.env.Environment env)
           
static NotifyingListener getOtherListener(org.springframework.core.env.Environment env)
           
static String getPropertyPrefix(SqlConfigContext scc)
           sql.dba.concurrent sql.dba.sequential sql.schema.concurrent sql.schema.sequential sql.constraints.concurrent sql.constraints.sequential sql.other.concurrent sql.other.sequential
static NotifyingListener getSchemaListener(org.springframework.core.env.Environment env)
           
static JdbcContext getSequentialJdbcContext(SqlConfigContext rcc)
           
static List<SqlExecutionContext> getSqlExecutionContexts(org.springframework.core.env.Environment env)
           
static List<SqlExecutionContext> getSqlExecutionContexts(List<String> values)
           
static SqlListener getSqlListener(SqlMode mode)
           
static NotifyingListener getSummaryAndProgressListener(org.springframework.core.env.Environment env)
           
static void validateSqlExecutionOrderValues(org.springframework.core.env.Environment env, List<String> values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SQL_PREFIX

public static final String SQL_PREFIX
See Also:
Constant Field Values

SQL_ORDER_KEY

public static final String SQL_ORDER_KEY
See Also:
Constant Field Values

LIST_SUFFIX

public static final String LIST_SUFFIX
See Also:
Constant Field Values
Constructor Detail

SqlConfigUtils

public SqlConfigUtils()
Method Detail

getJdbcExecutable

public static JdbcExecutable getJdbcExecutable(SqlConfigContext scc)

getSqlListener

public static SqlListener getSqlListener(SqlMode mode)

getJdbcContext

public static JdbcContext getJdbcContext(SqlConfigContext scc)

getSqlExecutionContexts

public static List<SqlExecutionContext> getSqlExecutionContexts(org.springframework.core.env.Environment env)

validateSqlExecutionOrderValues

public static void validateSqlExecutionOrderValues(org.springframework.core.env.Environment env,
                                                   List<String> values)

getLocations

public static List<String> getLocations(org.springframework.core.env.Environment env,
                                        String key,
                                        String suffix)

getSqlExecutionContexts

public static List<SqlExecutionContext> getSqlExecutionContexts(List<String> values)

getConcurrentDataSummaryListener

public static DataSummaryListener getConcurrentDataSummaryListener(SqlConfigContext rcc)

getConcurrentJdbcContext

public static JdbcContext getConcurrentJdbcContext(SqlConfigContext rcc)

getSequentialJdbcContext

public static JdbcContext getSequentialJdbcContext(SqlConfigContext rcc)

getPropertyPrefix

public static String getPropertyPrefix(SqlConfigContext scc)
   sql.dba.concurrent
   sql.dba.sequential
   sql.schema.concurrent
   sql.schema.sequential
   sql.constraints.concurrent
   sql.constraints.sequential
   sql.other.concurrent
   sql.other.sequential
 


getLogSqlListener

public static LogSqlListener getLogSqlListener(org.springframework.core.env.Environment env)

getOtherListener

public static NotifyingListener getOtherListener(org.springframework.core.env.Environment env)

getBaseJdbcContext

protected static JdbcContext getBaseJdbcContext(SqlConfigContext scc)

getConstraintsListener

public static NotifyingListener getConstraintsListener(org.springframework.core.env.Environment env)

getSchemaListener

public static NotifyingListener getSchemaListener(org.springframework.core.env.Environment env)

getSummaryAndProgressListener

public static NotifyingListener getSummaryAndProgressListener(org.springframework.core.env.Environment env)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.