org.opennms.netmgt.config
Class ConnectionFactoryUtil
java.lang.Object
org.opennms.netmgt.config.ConnectionFactoryUtil
public class ConnectionFactoryUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionFactoryUtil
public ConnectionFactoryUtil()
marshalDataSourceFromConfig
public static JdbcDataSource marshalDataSourceFromConfig(InputStream stream,
String dsName)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
marshalDataSourceFromConfig
- Parameters:
stream - a InputStream object.dsName - a String object.
- Returns:
- a
JdbcDataSource object.
- Throws:
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.
Copyright © 2011. All Rights Reserved.