com.ibm.di.fc.idml.md
Class MetaDataFactory
java.lang.Object
com.ibm.di.fc.idml.md.MetaDataFactory
public class MetaDataFactory extends Object
This factory is used to create MetaData
objects which permit to
access the CDM meta-data definitions (provided either as a JAR file or by an
IT registry).
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
MetaDataFactory
public MetaDataFactory ()
getITRegistryMetaData
public static MetaData getITRegistryMetaData (String jdbcUrl,
String jdbcDriver,
String dbUsername,
String dbPassword)
throws Exception
Returns a MetaData
object which can be used to retrieve CDM
meta-data definitions from an IT registry.
Parameters: jdbcUrl
- the JDBC URL used for connecting to the IT registry.jdbcDriver
- the JDBC driver for connecting to the IT registry.dbUsername
- the user name used for connecting to the IT registry.dbPassword
- the password used for connecting to the IT registry.
Returns: a MetaData
object.
Throws:
Exception
- if a problem occurs.
getJarMetaData
public static MetaData getJarMetaData ()
Returns a MetaData
object which can be used to retrieve CDM
meta-data definitions from a jar file.
Returns: a MetaData
object.