|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.core.config.WorkRepositoryDbInfo
public class WorkRepositoryDbInfo
Holds Information about ODI work repository DB connectivity.
Work repository connectivity can be defined from an existing application managed DataSource using JNDI lookup, or using connectivity informations stored in ODI master repository. In the latest case, connectivity information is queried from ODI master repository using ODI name of the specified work repository. This connectivity information can be straight JDBC properties for local DataSource, as well as a JNDI name. Pooling attributes will only be applied to local DataSource.
Constructor Summary | |
---|---|
WorkRepositoryDbInfo(java.lang.String pJndiName) WorkRepositoryDbInfo constructor that takes a JNDI data source name for repository connectivity. |
|
WorkRepositoryDbInfo(java.lang.String pWorkName, PoolingAttributes pPoolingAttributes) WorkRepositoryDbInfo constructor that takes ODI work repository name for repository connectivity. |
Method Summary | |
---|---|
java.lang.String |
getJndiName() Gets the JNDI name defined for this repository info. |
PoolingAttributes |
getPoolingAttributes() Return the pooling attributes defined for this repository info. |
java.lang.String |
getWorkName() Gets the work repository name. |
boolean |
isJndiRepositoryInfo() Return whether this repository info is a JNDI configuration, or not. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkRepositoryDbInfo(java.lang.String pWorkName, PoolingAttributes pPoolingAttributes)
pWorkName
- work namepPoolingAttributes
- pooling attributes, or null
if none.IllegalConfigurationArgumentException
- if work repository name is emptypublic WorkRepositoryDbInfo(java.lang.String pJndiName)
pJndiName
- full JNDI nameIllegalConfigurationArgumentException
- if JNDI name is emptyMethod Detail |
---|
public boolean isJndiRepositoryInfo()
true
if JNDI config, false
otherwisepublic java.lang.String getWorkName()
null
if not definedisJndiRepositoryInfo()
, getJndiName()
public java.lang.String getJndiName()
null
if not definedisJndiRepositoryInfo()
, getWorkName()
public PoolingAttributes getPoolingAttributes()
null
if undefined
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |