info.magnolia.module
Class DefaultModuleVersionHandler

java.lang.Object
  extended by info.magnolia.module.AbstractModuleVersionHandler
      extended by info.magnolia.module.DefaultModuleVersionHandler
All Implemented Interfaces:
ModuleVersionHandler

public class DefaultModuleVersionHandler
extends AbstractModuleVersionHandler

A version handler which provides the most common installation tasks: register repositories, nodetypes and workspaces as stated in the module definition, bootstrap the module's mgnl-bootstrap files, extract the module's mgnl-files files, register the module's servlets.

Version:
$Id$
Author:
philipp

Nested Class Summary
 
Nested classes/interfaces inherited from class info.magnolia.module.AbstractModuleVersionHandler
AbstractModuleVersionHandler.ModuleVersionToLatestTask, AbstractModuleVersionHandler.ModuleVersionUpdateTask
 
Field Summary
 
Fields inherited from class info.magnolia.module.AbstractModuleVersionHandler
log
 
Constructor Summary
DefaultModuleVersionHandler()
           
 
Method Summary
protected  List<Task> getBasicInstallTasks(InstallContext installContext)
          This method should generally not be overridden.
 
Methods inherited from class info.magnolia.module.AbstractModuleVersionHandler
getCurrentlyInstalled, getDefaultUpdate, getDefaultUpdateConditions, getDefaultUpdateTasks, getDeltas, getExtraInstallTasks, getInstall, getInstallConditions, getStartupDelta, getStartupTasks, getUpdate, getUpdateDeltas, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultModuleVersionHandler

public DefaultModuleVersionHandler()
Method Detail

getBasicInstallTasks

protected List<Task> getBasicInstallTasks(InstallContext installContext)
This method should generally not be overridden. To add install tasks, use AbstractModuleVersionHandler.getExtraInstallTasks(info.magnolia.module.InstallContext).

Specified by:
getBasicInstallTasks in class AbstractModuleVersionHandler


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.