Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-01


com.sigmadynamics.server
Class SDDataSource

java.lang.Object
  extended by com.sigmadynamics.server.SDDataSource

All Implemented Interfaces:
SDDataSourceInterface

public class SDDataSource
extends java.lang.Object
implements SDDataSourceInterface

The class SDDataSource contains a factory method for DataSources.

Since:
1.0

Method Summary
 java.sql.Connection getConnection()
          For convenience, this method for obtaining a Connection does not throw a SQLException .
static SDDataSourceInterface getDataSource(java.lang.String dataSourceName)
           
static SDDataSource getInstance(java.lang.String dataSourceName)
          Deprecated. please use SDDataSource.getDataSource(String) instead
 java.lang.String getName()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getInstance

@Deprecated
public static SDDataSource getInstance(java.lang.String dataSourceName)
Deprecated. please use SDDataSource.getDataSource(String) instead
There is no need to release or close the returned SDDataSource object.
Returns:
null if the dataSourceName cannot be found, non-null otherwise
Since:
1.0

getDataSource

public static SDDataSourceInterface getDataSource(java.lang.String dataSourceName)
Since:
3.0

getConnection

public java.sql.Connection getConnection()
Description copied from interface: SDDataSourceInterface
For convenience, this method for obtaining a Connection does not throw a SQLException .
Specified by:
getConnection in interface SDDataSourceInterface

getName

public java.lang.String getName()
Specified by:
getName in interface SDDataSourceInterface
Returns:
JNDI name of DataSource.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-01


Copyright © 2010, Oracle. All rights reserved.