|
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 |
java.lang.Object oracle.odi.setup.support.MasterRepositorySetupImpl
public final class MasterRepositorySetupImpl
Default IMasterRepositorySetup
implementation.
Field Summary |
---|
Fields inherited from interface oracle.odi.setup.IMasterRepositorySetup |
---|
MASTER_REPOSITORY_MAX_ID |
Constructor Summary | |
---|---|
MasterRepositorySetupImpl()
|
Method Summary | |
---|---|
void |
configureMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
java.lang.String pDefaultSupervisorPass)
Configure default content of a given ODI master repository. |
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. |
boolean |
createMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
boolean pOverwrite,
java.lang.String pDefaultSupervisorPass)
Calling this method is equivalent to call createMasterRepository(String pMasterUrl, String pMasterDriver, String pMasterUsername, String pMasterPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, String pDefaultSupervisorPass, null, null) throws RepositorySetupException; |
boolean |
createMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
boolean pOverwrite,
java.lang.String pDefaultSupervisorPass,
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MasterRepositorySetupImpl()
Method Detail |
---|
public void configureMasterRepository(java.lang.String pMasterUrl, java.lang.String pMasterDriver, java.lang.String pMasterUsername, java.lang.String pMasterPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, java.lang.String pDefaultSupervisorPass) throws RepositorySetupException
IMasterRepositorySetup
configureMasterRepository
in interface IMasterRepositorySetup
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 databasepDefaultSupervisorPass
- password of the SUPERVISOR user that is
created by default. If pDefaultSupervisorPass is null, then the
default password will be SUNOPSIS.
RepositorySetupException
- if failed to create that Master Repository
RepositoryScriptsNotFoundException
- if the script files can't be
foundpublic 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
IMasterRepositorySetup
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.
createMasterRepository
in interface IMasterRepositorySetup
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
foundpublic boolean createMasterRepository(java.lang.String pMasterUrl, java.lang.String pMasterDriver, java.lang.String pMasterUsername, java.lang.String pMasterPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, java.lang.String pDefaultSupervisorPass) throws RepositorySetupException
IMasterRepositorySetup
createMasterRepository
in interface IMasterRepositorySetup
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.pDefaultSupervisorPass
- password of the SUPERVISOR user that is
created by default. If pDefaultSupervisorPass is null, then the
default password will be SUNOPSIS.
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
foundpublic boolean createMasterRepository(java.lang.String pMasterUrl, java.lang.String pMasterDriver, java.lang.String pMasterUsername, java.lang.String pMasterPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, java.lang.String pDefaultSupervisorPass, PasswordStorageConfiguration pPasswordStorageConfiguration, IMassImportExportResource pMasterImportSource) throws RepositorySetupException, org.springframework.jdbc.CannotGetJdbcConnectionException
IMasterRepositorySetup
This method will create the tables for master repository in the database schema, and will initialize internal master repository configuration. It will also create a default ODI user with the name SUPERVISOR and with the given password. That ODI user is a supervisor user.
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.
createMasterRepository
in interface IMasterRepositorySetup
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.pDefaultSupervisorPass
- password of the SUPERVISOR user that is
created by default. If pDefaultSupervisorPass is null, then the
default password will be SUNOPSIS.pPasswordStorageConfiguration
- 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
found
org.springframework.jdbc.CannotGetJdbcConnectionException
public void upgradeMasterRepository(java.lang.String pMasterUrl, java.lang.String pMasterDriver, java.lang.String pMasterUsername, java.lang.String pMasterPassword, TechnologyName pMasterTechnology) throws RepositorySetupException
IMasterRepositorySetup
upgradeMasterRepository
in interface IMasterRepositorySetup
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
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 |