org.qi4j.migration

## Interface MigrationService

- All Superinterfaces:
    Migration
  All Known Implementing Classes:
    MigrationService.MigrationMixin

      @Mixins(value=MigrationService.MigrationMixin.class)
      @Activators(value=MigrationService.Activator.class)
      public interface MigrationService
      extends Migration

  Migration service. This is used by MapEntityStore EntityStore implementations to migrate JSON state for Entities. To use it register the service so that the EntityStore can access it, and then create MigrationRules during the assembly of your application, which is registered as metainfo for this service. The rules invoke operations, which in turn invoke the Migrator interface to perform the actual migration. If the Migrator accepts a migration command the change is performed, and an event is triggered. These events can be received by implementing the MigrationEvents interface in a service that is visible by this MigrationService.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `MigrationService.Activator`
    `static class` | `MigrationService.MigrationMixin`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `initialize()`

    - ### Methods inherited from interface org.qi4j.spi.entitystore.helpers.Migration

      `migrate`

- - ### Method Detail

    - #### initialize

          void initialize()
                          throws Exception

      Throws:
        `Exception`