|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.data.oda.util.manifest.DtpManifestExplorer
The DTP Manifest Explorer is the entry point to explore and access
the DTP ODA manifest of all the ODA plug-ins extensions that implement the
org.eclipse.birt.data.oda.dataSource
or
org.eclipse.datatools.connectivity.oda.dataSource
extension point.
The DtpManifestExplorer
singleton instance can be retrieved
using the getInstance()
method.
This provides a migration path to BIRT components to adopt
the DTP ODA manifest package, and covers backward compatibilty
to support both BIRT and DTP ODA extensions.
Method Summary | |
java.util.Properties |
getDataSourceIdentifiers()
Returns a collection of identifiers of all ODA data source extensions (both BIRT and DTP). |
org.eclipse.datatools.connectivity.oda.util.manifest.ExtensionManifest |
getExtensionManifest(java.lang.String extensionId)
Returns the DTP ODA extension configuration information found in the plugin manifest file of the specified data source extension. |
org.eclipse.datatools.connectivity.oda.util.manifest.ExtensionManifest[] |
getExtensionManifests()
Returns an array of DTP ODA extension configuration information found in the plugin manifest file. |
static DtpManifestExplorer |
getInstance()
Singleton getter method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static DtpManifestExplorer getInstance()
public java.util.Properties getDataSourceIdentifiers()
Properties
if there are
no data source extensions found.
Properties
containing the id
and display name of all data source extensions.public org.eclipse.datatools.connectivity.oda.util.manifest.ExtensionManifest getExtensionManifest(java.lang.String extensionId) throws org.eclipse.datatools.connectivity.oda.OdaException
extensionId
- the unique id of the data source element
in a data source extension.
java.lang.IllegalArgumentException
- if no ODA driver plugin supports the data source extension ID.
org.eclipse.datatools.connectivity.oda.OdaException
- if the extension manifest is invalid.public org.eclipse.datatools.connectivity.oda.util.manifest.ExtensionManifest[] getExtensionManifests()
ExtensionManifest
array containing
the definition of all valid ODA data source extensions.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |