org.apache.ode.bpel.engine.migration
Class CorrelatorsMigration

java.lang.Object
  extended by org.apache.ode.bpel.engine.migration.CorrelatorsMigration
All Implemented Interfaces:
Migration

public class CorrelatorsMigration
extends java.lang.Object
implements Migration

Migrates correlators used for routing from a selection scheme that's based on partnerLinkId+"."+operationName to partnerLinkName+"."+operationName


Constructor Summary
CorrelatorsMigration()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorrelatorsMigration

public CorrelatorsMigration()
Method Detail

migrate

public boolean migrate(java.util.Set<BpelProcess> registeredProcesses,
                       BpelDAOConnection connection)
Description copied from interface: Migration
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.

Specified by:
migrate in interface Migration