|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMasterRepositorySetup
This interface defines methods to create and upgrade an ODI Master Repository.
Field Summary | |
---|---|
static int |
MASTER_REPOSITORY_MAX_ID
Master repository ID maximum value. |
Method Summary | |
---|---|
boolean |
createMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
IMassImportExportResource pMasterImportSource)
Create an ODI master repository into the database specified by the given parameters. |
void |
upgradeMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
TechnologyName pMasterTechnology)
Upgrade the master repository schema for the database specified by the given parameters. |
Field Detail |
---|
static final int MASTER_REPOSITORY_MAX_ID
Method Detail |
---|
boolean createMasterRepository(java.lang.String pMasterUrl, java.lang.String pMasterDriver, java.lang.String pMasterUsername, java.lang.String pMasterPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration, IMassImportExportResource pMasterImportSource) throws RepositorySetupException
This method will create the tables for master repository in the database schema, and will initialize internal master repository configuration. According to the type of pAuthenticationConfiguration parameter it will also
That method return true
if the repository has been created,
and false
in case a previous repository was found but invoker
had asked to not overwrite any existing repository.
pMasterUrl
- the url of the database where the master repository will
be createdpMasterDriver
- the JDBC driver name of the databasepMasterUsername
- the username to connect to the databasepMasterPassword
- the password to connect to the databasepMasterRepositoryId
- the ID of the repository that will be createdpMasterTechnology
- the technology of the databasepOverwrite
- true
to override an existing repository,
false
otherwise. Note that overwrite of a repository
having a different version might fail. In this case
please cleanup your database schema manually.pAuthenticationConfiguration
- the authentication configurationpPasswordStorageConfiguration
- the
PasswordStorageConfiguration
to use for this repository. If
this parameter is null the one defined in the specified
pMasterImportSource if any will be used otherwise the
PasswordStorageConfiguration.InternalPasswordStorageConfiguration
will be used.pMasterImportSource
- the location of master repository configuration
to use. If this parameter is null the default configuration shipped
with the product will be used.
true
if the repository has been created,
false
otherwise
RepositorySetupException
- if failed to create that Master Repository
RepositoryScriptsNotFoundException
- if the script files can't be
foundvoid upgradeMasterRepository(java.lang.String pMasterUrl, java.lang.String pMasterDriver, java.lang.String pMasterUsername, java.lang.String pMasterPassword, TechnologyName pMasterTechnology) throws RepositorySetupException
pMasterUrl
- the url of the database where the master repository will
be createdpMasterDriver
- the JDBC driver name of the databasepMasterUsername
- the username to connect to the databasepMasterPassword
- the password to connect to the databasepMasterTechnology
- the technology of the database
RepositorySetupException
- if failed to upgrade the given repository
NotRepositorySchemaException
- if the database doesn't hold an ODI
master repository schema
RepositoryScriptsNotFoundException
- if the script files can't be
found
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |