Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


oracle.odi.core.config
Class MasterRepositoryDbInfo

java.lang.Object
  extended by oracle.odi.core.config.MasterRepositoryDbInfo


public class MasterRepositoryDbInfo
extends java.lang.Object

Holds Information about ODI master repository DB connectivity.

Master repository connectivity can be defined from local DataSource using straight JDBC properties or from an existing application managed DataSource using JNDI lookup. Pooling attributes will be applied only to local DataSource.

Since:
11.1.1.3.0

Constructor Summary
MasterRepositoryDbInfo(java.lang.String pJndiName)
          MasterRepositoryDbInfo constructor that takes a JNDI data source name for repository connectivity.
MasterRepositoryDbInfo(java.lang.String pJndiName, PoolingAttributes pPoolingAttributes)
          MasterRepositoryDbInfo constructor that takes a JNDI data source name for repository connectivity, and a PoolingAttributes
MasterRepositoryDbInfo(java.lang.String pJdbcUrl, java.lang.String pJdbcDriver, java.lang.String pJdbcUsername, char[] pJdbcPassword, PoolingAttributes pPoolingAttributes)
          MasterRepositoryDbInfo constructor that takes straight JDBC parameters for repository connectivity.
MasterRepositoryDbInfo(java.lang.String pJdbcUrl, java.lang.String pJdbcDriver, java.lang.String pEdition, java.lang.String pJdbcUsername, char[] pJdbcPassword, PoolingAttributes pPoolingAttributes)
           

 

Method Summary
 java.lang.String getEdition()
          Return the edition defined for this repository info.
 java.lang.String getJdbcDriver()
          Return the JDBC driver defined for this repository info.
 char[] getJdbcPassword()
          Return the JDBC password defined for this repository info.
 java.lang.String getJdbcUrl()
          Return the JDBC URL defined for this repository info.
 java.lang.String getJdbcUsername()
          Return the JDBC user name defined for this repository info.
 java.lang.String getJndiName()
          Return the JNDI name defined for this repository info.
 PoolingAttributes getPoolingAttributes()
          Return the pooling attributes defined for this repository info.
 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

MasterRepositoryDbInfo

public MasterRepositoryDbInfo(java.lang.String pJndiName)
MasterRepositoryDbInfo constructor that takes a JNDI data source name for repository connectivity.
Parameters:
pJndiName - full JNDI name
Throws:
IllegalConfigurationArgumentException - if JNDI name is empty

MasterRepositoryDbInfo

public MasterRepositoryDbInfo(java.lang.String pJndiName,
                              PoolingAttributes pPoolingAttributes)
MasterRepositoryDbInfo constructor that takes a JNDI data source name for repository connectivity, and a PoolingAttributes
Parameters:
pJndiName - full JNDI name
Throws:
IllegalConfigurationArgumentException - if JNDI name is empty

MasterRepositoryDbInfo

public MasterRepositoryDbInfo(java.lang.String pJdbcUrl,
                              java.lang.String pJdbcDriver,
                              java.lang.String pJdbcUsername,
                              char[] pJdbcPassword,
                              PoolingAttributes pPoolingAttributes)
MasterRepositoryDbInfo constructor that takes straight JDBC parameters for repository connectivity.
Parameters:
pJdbcUrl - repository DB url
pJdbcDriver - repository DB driver
pJdbcUsername - repository DB username
pJdbcPassword - repository DB password
pPoolingAttributes - pooling attributes, can be null for no pooling
Throws:
IllegalConfigurationArgumentException - if one of the argument is invalid

MasterRepositoryDbInfo

public MasterRepositoryDbInfo(java.lang.String pJdbcUrl,
                              java.lang.String pJdbcDriver,
                              java.lang.String pEdition,
                              java.lang.String pJdbcUsername,
                              char[] pJdbcPassword,
                              PoolingAttributes pPoolingAttributes)

Method Detail

isJndiRepositoryInfo

public boolean isJndiRepositoryInfo()
Return whether this repository info is a JNDI configuration, or not.
Returns:
true if JNDI config, false otherwise

getJndiName

public java.lang.String getJndiName()
Return the JNDI name defined for this repository info.
Returns:
the JNDI name, or null if not a JNDI info

getJdbcUrl

public java.lang.String getJdbcUrl()
Return the JDBC URL defined for this repository info.
Returns:
the JDBC URL, or null if not a JDBC info

getEdition

public java.lang.String getEdition()
Return the edition defined for this repository info.
Returns:
the Oracle edition, or null if not EBR

getJdbcDriver

public java.lang.String getJdbcDriver()
Return the JDBC driver defined for this repository info.
Returns:
the JDBC driver, or null if not a JDBC info

getJdbcUsername

public java.lang.String getJdbcUsername()
Return the JDBC user name defined for this repository info.
Returns:
the JDBC user name, or null if not a JDBC info

getJdbcPassword

public char[] getJdbcPassword()
Return the JDBC password defined for this repository info.
Returns:
an array of char representing the JDBC password, or null if not a JDBC info

getPoolingAttributes

public PoolingAttributes getPoolingAttributes()
Return the pooling attributes defined for this repository info.
Returns:
the pooling attributes, or null if undefined

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved.