org.eclipse.datatools.connectivity
Class ConnectionProfileMigratorBase
java.lang.Object
   org.eclipse.datatools.connectivity.ConnectionProfileMigratorBase
org.eclipse.datatools.connectivity.ConnectionProfileMigratorBase
- All Implemented Interfaces: 
- org.eclipse.core.runtime.IExecutableExtension, IConnectionProfileMigrator
- public class ConnectionProfileMigratorBase 
- extends java.lang.Object- implements IConnectionProfileMigrator, org.eclipse.core.runtime.IExecutableExtension
Base implementation for IConnectionProfileMigrator. Extenders can
 override performMigration(IConnectionProfile) to specialize property
 migration for their particular connection profile.
 applyPropertyMigrations(IConnectionProfile) is supplied to allow
 extenders to take advantage of the declarative property migration
 functionality available through propertyMigration elements.
 
 This API is provisional.
- Author:
- rcernich
 
 Created on Apr 5, 2007
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ConnectionProfileMigratorBase
public ConnectionProfileMigratorBase()
- Default constructor
 
performMigration
public void performMigration(IConnectionProfile profile)
- Default implementation. Simply invokes
 applyPropertyMigrations(IConnectionProfile)
 
- 
- Specified by:
- performMigrationin interface- IConnectionProfileMigrator
 
- 
- Parameters:
- profile- the connection profile to migrate.
 
getNewProviderID
public final java.lang.String getNewProviderID()
- 
- Specified by:
- getNewProviderIDin interface- IConnectionProfileMigrator
 
- 
- Returns:
- the new provider ID as specified in the migration element; note,
         may be the same as the original provider id
 
setInitializationData
public final void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
                                        java.lang.String propertyName,
                                        java.lang.Object data)
                                 throws org.eclipse.core.runtime.CoreException
- 
- Specified by:
- setInitializationDatain interface- org.eclipse.core.runtime.IExecutableExtension
 
- 
- Throws:
- org.eclipse.core.runtime.CoreException