com.alibaba.druid.pool.ha.cobar
Class CobarConfigLoader

java.lang.Object
  extended by com.alibaba.druid.pool.ha.config.URLConnectionConfigLoader
      extended by com.alibaba.druid.pool.ha.cobar.CobarConfigLoader
All Implemented Interfaces:
ConfigLoader

public class CobarConfigLoader
extends URLConnectionConfigLoader
implements ConfigLoader


Constructor Summary
CobarConfigLoader(CobarDataSource cobarDataSource)
           
 
Method Summary
static URL createURL(String jdbcUrl)
           
 CobarDataSource getDataSource()
           
static boolean isCobar(String url)
           
 
Methods inherited from class com.alibaba.druid.pool.ha.config.URLConnectionConfigLoader
getConnectTimeout, getReadTimeout, getResponseMessage, getURL, load, setConnectTimeout, setReadTimeout, setURL
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.alibaba.druid.pool.ha.config.ConfigLoader
load
 

Constructor Detail

CobarConfigLoader

public CobarConfigLoader(CobarDataSource cobarDataSource)
                  throws SQLException
Throws:
SQLException
Method Detail

getDataSource

public CobarDataSource getDataSource()

isCobar

public static boolean isCobar(String url)

createURL

public static URL createURL(String jdbcUrl)
                     throws SQLException
Throws:
SQLException


Copyright © 2012 Alibaba Group. All Rights Reserved.