org.nuiton.topia.migration
Class TopiaMigrationServiceImpl

java.lang.Object
  extended by org.nuiton.topia.migration.MigrationServiceImpl
      extended by org.nuiton.topia.migration.TopiaMigrationServiceImpl
All Implemented Interfaces:
EventListener, TopiaContextListener, TopiaTransactionVetoable, TopiaService, MigrationService, TopiaMigrationService

Deprecated. since 2.3.4, please use now the simplify service TopiaMigrationEngine

@Deprecated
public class TopiaMigrationServiceImpl
extends MigrationServiceImpl
implements TopiaMigrationService, TopiaContextListener, TopiaTransactionVetoable

TopiaMigrationServiceImpl.java Classe principale du projet.

Author:
Chatellier Eric, Chevallereau Benjamin, Eon S�bastien, Tr�ve Vincent

Field Summary
static String MIGRATION_APPLICATION_VERSION
          Deprecated. Nom des proprietes
static String MIGRATION_CALLBACKHANDLERS
          Deprecated.  
static String MIGRATION_MODEL_NAMES
          Deprecated.  
static String MIGRATION_PREVIOUS_MAPPING_DIRECTORY
          Deprecated.  
protected static String TOPIA_PERSISTENCE_CLASSES
          Deprecated.  
protected static String TOPIA_PERSISTENCE_DIRECTORIES
          Deprecated. C'est la meme, mais ca vire des dependances
 
Fields inherited from class org.nuiton.topia.migration.MigrationServiceImpl
currentApplicationConfiguration, currentApplicationVersion, currentHibernateConfigurationFile, mappingsDirectory, migrationCallBackHandlers
 
Fields inherited from interface org.nuiton.topia.migration.TopiaMigrationService
MIGRATION_CALLBACK, MIGRATION_MIGRATE_ON_INIT, MIGRATION_SHOW_PROGRESSION, MIGRATION_SHOW_SQL, SERVICE_NAME, TOPIA_SERVICE_NAME
 
Constructor Summary
TopiaMigrationServiceImpl()
          Deprecated.  
 
Method Summary
 void beginTransaction(TopiaTransactionEvent event)
          Deprecated.  
 Class<?>[] getPersistenceClasses()
          Deprecated.  
 String getServiceName()
          Deprecated.  
 void postCreateSchema(TopiaContextEvent event)
          Deprecated.  
 boolean postInit(TopiaContextImplementor context)
          Deprecated.  
 void postRestoreSchema(TopiaContextEvent event)
          Deprecated.  
 void postUpdateSchema(TopiaContextEvent event)
          Deprecated.  
 void preCreateSchema(TopiaContextEvent event)
          Deprecated.  
 boolean preInit(TopiaContextImplementor context)
          Deprecated.  
 void preRestoreSchema(TopiaContextEvent event)
          Deprecated.  
 void preUpdateSchema(TopiaContextEvent event)
          Deprecated.  
 
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
 
Methods inherited from interface org.nuiton.topia.migration.TopiaMigrationService
migrateSchema
 

Field Detail

MIGRATION_APPLICATION_VERSION

public static final String MIGRATION_APPLICATION_VERSION
Deprecated. 
Nom des proprietes

See Also:
Constant Field Values

MIGRATION_PREVIOUS_MAPPING_DIRECTORY

public static final String MIGRATION_PREVIOUS_MAPPING_DIRECTORY
Deprecated. 
See Also:
Constant Field Values

MIGRATION_MODEL_NAMES

public static final String MIGRATION_MODEL_NAMES
Deprecated. 
See Also:
Constant Field Values

MIGRATION_CALLBACKHANDLERS

public static final String MIGRATION_CALLBACKHANDLERS
Deprecated. 
See Also:
Constant Field Values

TOPIA_PERSISTENCE_DIRECTORIES

protected static final String TOPIA_PERSISTENCE_DIRECTORIES
Deprecated. 
C'est la meme, mais ca vire des dependances

See Also:
Constant Field Values

TOPIA_PERSISTENCE_CLASSES

protected static final String TOPIA_PERSISTENCE_CLASSES
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

TopiaMigrationServiceImpl

public TopiaMigrationServiceImpl()
Deprecated. 
Method Detail

getPersistenceClasses

public Class<?>[] getPersistenceClasses()
Deprecated. 
Specified by:
getPersistenceClasses in interface TopiaService

getServiceName

public String getServiceName()
Deprecated. 
Specified by:
getServiceName in interface TopiaService

preInit

public boolean preInit(TopiaContextImplementor context)
Deprecated. 
Specified by:
preInit in interface TopiaService

postInit

public boolean postInit(TopiaContextImplementor context)
Deprecated. 
Specified by:
postInit in interface TopiaService

postCreateSchema

public void postCreateSchema(TopiaContextEvent event)
Deprecated. 
Specified by:
postCreateSchema in interface TopiaContextListener

postUpdateSchema

public void postUpdateSchema(TopiaContextEvent event)
Deprecated. 
Specified by:
postUpdateSchema in interface TopiaContextListener

preCreateSchema

public void preCreateSchema(TopiaContextEvent event)
Deprecated. 
Specified by:
preCreateSchema in interface TopiaContextListener

preUpdateSchema

public void preUpdateSchema(TopiaContextEvent event)
Deprecated. 
Specified by:
preUpdateSchema in interface TopiaContextListener

preRestoreSchema

public void preRestoreSchema(TopiaContextEvent event)
Deprecated. 
Specified by:
preRestoreSchema in interface TopiaContextListener

postRestoreSchema

public void postRestoreSchema(TopiaContextEvent event)
Deprecated. 
Specified by:
postRestoreSchema in interface TopiaContextListener

beginTransaction

public void beginTransaction(TopiaTransactionEvent event)
Deprecated. 
Specified by:
beginTransaction in interface TopiaTransactionVetoable


Copyright © 2004-2010 CodeLutin. All Rights Reserved.