com.ibm.wsspi.sibx.mediation.esb
Interface RuntimeServices
- public interface RuntimeServices
Provides WebSphere runtime related services to ESB mediation primitives. The
only service provided is the access to JDBC Data sources.
Method Summary |
javax.sql.DataSource |
getDataSource(java.lang.String jndiName)
Provides access to a JDBC data source. |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
$sccsid
public static final java.lang.String $sccsid
- See Also:
- Constant Field Values
getDataSource
public javax.sql.DataSource getDataSource(java.lang.String jndiName)
throws DataSourceException
- Provides access to a JDBC data source. The ESB mediation primitive
specifies a fully qualified JNDI name which this method will then use to
lookup and return the JDBC DataSource bound to that JNDI name.
- Parameters:
jndiName
- the JNDI name of the data source
- Returns:
- the data source
- Throws:
DataSourceException
- if there is a problem when obtaining the
data source.