Interface TopiaMigrationService

All Superinterfaces:
TopiaService
All Known Implementing Classes:
HibernateTopiaMigrationService

public interface TopiaMigrationService extends TopiaService
When TopiaApplicationContext.initSchema() is called, topia will look for a topia-service that is able to migrate the database. Actually, it will look for any service implementing this contract.
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    The schema has been created by ToPIA, the service should init the migration engine and store the schema version somewhere.
    void
    The schema already exists in an unknown version, service should update the schema if necessary.

    Methods inherited from interface org.nuiton.topia.persistence.TopiaService

    close, initTopiaService