org.nuiton.topia.migration
Class TopiaMigrationServiceImpl
java.lang.Object
org.nuiton.topia.migration.MigrationServiceImpl
org.nuiton.topia.migration.TopiaMigrationServiceImpl
- All Implemented Interfaces:
- java.util.EventListener, TopiaContextListener, TopiaTransactionVetoable, TopiaService, MigrationService, TopiaMigrationService
public class TopiaMigrationServiceImpl
- extends MigrationServiceImpl
- implements TopiaMigrationService
TopiaMigrationServiceImpl.java
Classe principale du projet.
- Version:
- $Revision: 1459 $
Last update : $Date: 2009-05-16 09:56:47 +0200 (Sat, 16 May 2009) $
- Author:
- Chatellier Eric, Chevallereau Benjamin, Eon S�bastien, Tr�ve Vincent
| Methods inherited from class org.nuiton.topia.migration.MigrationServiceImpl |
addMigrationCallbackHandler, askHandlerForMigration, checkInformation, getConfiguration, getConfigurationFile, getMappingsDirectory, getSingleConfiguration, loadApplicationConfiguration, loadIntermediateConfigurations, migrateSchema, putVersionInDatabase, setApplicationVersion, setConfiguration, setConfigurationFile, setMappingsDirectory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIGRATION_APPLICATION_VERSION
public static final java.lang.String MIGRATION_APPLICATION_VERSION
- Nom des proprietes
- See Also:
- Constant Field Values
MIGRATION_PREVIOUS_MAPPING_DIRECTORY
public static final java.lang.String MIGRATION_PREVIOUS_MAPPING_DIRECTORY
- See Also:
- Constant Field Values
MIGRATION_MODEL_NAMES
public static final java.lang.String MIGRATION_MODEL_NAMES
- See Also:
- Constant Field Values
MIGRATION_CALLBACKHANDLERS
public static final java.lang.String MIGRATION_CALLBACKHANDLERS
- See Also:
- Constant Field Values
TOPIA_PERSISTENCE_DIRECTORIES
protected static final java.lang.String TOPIA_PERSISTENCE_DIRECTORIES
- C'est la meme, mais ca vire des dependances
- See Also:
- Constant Field Values
TOPIA_PERSISTENCE_CLASSES
protected static final java.lang.String TOPIA_PERSISTENCE_CLASSES
- See Also:
- Constant Field Values
TopiaMigrationServiceImpl
public TopiaMigrationServiceImpl()
getPersistenceClasses
public java.lang.Class<?>[] getPersistenceClasses()
- Specified by:
getPersistenceClasses in interface TopiaService
getServiceName
public java.lang.String getServiceName()
- Specified by:
getServiceName in interface TopiaService
preInit
public boolean preInit(TopiaContextImplementor context)
- Specified by:
preInit in interface TopiaService
postInit
public boolean postInit(TopiaContextImplementor context)
- Specified by:
postInit in interface TopiaService
postCreateSchema
public void postCreateSchema(TopiaContextEvent event)
- Specified by:
postCreateSchema in interface TopiaContextListener
postUpdateSchema
public void postUpdateSchema(TopiaContextEvent event)
- Specified by:
postUpdateSchema in interface TopiaContextListener
preCreateSchema
public void preCreateSchema(TopiaContextEvent event)
- Specified by:
preCreateSchema in interface TopiaContextListener
preUpdateSchema
public void preUpdateSchema(TopiaContextEvent event)
- Specified by:
preUpdateSchema in interface TopiaContextListener
preRestoreSchema
public void preRestoreSchema(TopiaContextEvent event)
- Specified by:
preRestoreSchema in interface TopiaContextListener
postRestoreSchema
public void postRestoreSchema(TopiaContextEvent event)
- Specified by:
postRestoreSchema in interface TopiaContextListener
beginTransaction
public void beginTransaction(TopiaTransactionEvent event)
- Specified by:
beginTransaction in interface TopiaTransactionVetoable
Copyright © 2004-2010 CodeLutin. All Rights Reserved.