org.apache.ibatis.mapping
Class DefaultDatabaseIdProvider

java.lang.Object
  extended by org.apache.ibatis.mapping.DefaultDatabaseIdProvider
All Implemented Interfaces:
DatabaseIdProvider

public class DefaultDatabaseIdProvider
extends Object
implements DatabaseIdProvider


Constructor Summary
DefaultDatabaseIdProvider()
           
 
Method Summary
 String getDatabaseId(DataSource dataSource)
           
 void setProperties(Properties p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDatabaseIdProvider

public DefaultDatabaseIdProvider()
Method Detail

getDatabaseId

public String getDatabaseId(DataSource dataSource)
Specified by:
getDatabaseId in interface DatabaseIdProvider

setProperties

public void setProperties(Properties p)
Specified by:
setProperties in interface DatabaseIdProvider


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.