Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.ode.bpel.engine.migration
Interface Migration

All Known Implementing Classes:
  CorrelationKeyMigration, CorrelationKeySetDataMigration, CorrelationKeySetMigration, CorrelatorsMigration

    public interface Migration

Implement and add to the list of migrations in MigrationHandler to allow database level migration.

Method Summary
`boolean` | `migrate(java.util.Set<BpelProcess> registeredProcesses, BpelDAOConnection connection)` All database migrations are run in the same transaction so if one fails, they will all be rollbacked.

Method Detail

### migrate

    boolean migrate(java.util.Set<BpelProcess> registeredProcesses,
                    BpelDAOConnection connection)

  All database migrations are run in the same transaction so if one fails, they will all be rollbacked. There are two ways to fail: either return false or throw an exception. The difference is that throwing an exception will stop the server startup whereas returning false will let the server continue its starting cycle and run on the non-migrated data.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD