public class ConnectionFactoryUtil extends Object
Constructor and Description |
---|
ConnectionFactoryUtil() |
Modifier and Type | Method and Description |
---|---|
static JdbcDataSource |
marshalDataSourceFromConfig(InputStream stream,
String dsName)
marshalDataSourceFromConfig
|
public static JdbcDataSource marshalDataSourceFromConfig(InputStream stream, String dsName) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
marshalDataSourceFromConfig
stream
- a InputStream
object.dsName
- a String
object.JdbcDataSource
object.org.exolab.castor.xml.MarshalException
- if any.org.exolab.castor.xml.ValidationException
- if any.Copyright © 2015. All Rights Reserved.