org.apache.openejb.resource.jdbc
Class BasicDataSourceUtil

java.lang.Object
  extended by org.apache.openejb.resource.jdbc.BasicDataSourceUtil

public final class BasicDataSourceUtil
extends Object


Method Summary
static DataSourcePlugin getDataSourcePlugin(String jdbcUrl)
           
static String getJdbcName(String jdbcUrl)
           
static PasswordCipher getPasswordCipher(String passwordCipherClass)
          Create a PasswordCipher instance from the #passwordCipherClass.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDataSourcePlugin

public static DataSourcePlugin getDataSourcePlugin(String jdbcUrl)
                                            throws SQLException
Throws:
SQLException

getJdbcName

public static String getJdbcName(String jdbcUrl)

getPasswordCipher

public static PasswordCipher getPasswordCipher(String passwordCipherClass)
                                        throws SQLException
Create a PasswordCipher instance from the #passwordCipherClass.

Parameters:
passwordCipherClass - the password cipher to look for
Returns:
the password cipher from the #passwordCipherClass optionally set.
Throws:
SQLException - if the driver can not be found.


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.