com.ibm.wsspi.sibx.mediation.esb

Interface RuntimeServices


  1. public interface RuntimeServices
Provides WebSphere runtime related services to ESB mediation primitives. The only service provided is the access to JDBC Data sources.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
$sccsid
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. javax.sql.DataSource
getDataSource(java.lang.String jndiName)
Deprecated.
  1. javax.sql.DataSource
getDataSourceForProperty(java.lang.String propertyName)
Provides access to a JDBC data source.
  1. java.lang.String
getSubflowName()
Provides access to the name of the current subflow
  1. java.lang.String
getSubflowPrimitiveName()
Provide access to the name of the current subflow primitive

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

$sccsid

  1. static final java.lang.String $sccsid
See Also:

Method Detail

getDataSource

  1. javax.sql.DataSource getDataSource( java.lang.String jndiName)
  2. throws DataSourceException
Deprecated.
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. This method is deprecated in favour of the
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.

getDataSourceForProperty

  1. javax.sql.DataSource getDataSourceForProperty( java.lang.String propertyName)
  2. throws DataSourceException
Provides access to a JDBC data source. The ESB mediation primitive specifies the property name of the primitive property on which a global JNDI name was specified as the value. This method will then use that property name to perform a local JNDI lookup of the environment resource reference to which that global JNDI name was bound.
Parameters:
propertyName - the name of the property
Returns:
the data source
Throws:
DataSourceException - if there is a problem when obtaining the data source

getSubflowName

  1. java.lang.String getSubflowName( )
Provides access to the name of the current subflow
Returns:
the name of the current subflow

getSubflowPrimitiveName

  1. java.lang.String getSubflowPrimitiveName( )
Provide access to the name of the current subflow primitive
Returns:
the name of the current subflow mediation primitive