info.magnolia.module.ui
Class ModuleManagerNullUI

java.lang.Object
  extended by info.magnolia.module.ui.ModuleManagerNullUI
All Implemented Interfaces:
ModuleManagerUI

public class ModuleManagerNullUI
extends java.lang.Object
implements ModuleManagerUI

An implementation of ModuleManagerUI which does everything by itself, with no human intervention and simply logs its results.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Constructor Summary
ModuleManagerNullUI(ModuleManager moduleManager)
           
 
Method Summary
 boolean execute(java.io.Writer out, java.lang.String command)
           
 void onStartup()
           
 void renderTempPage(java.io.Writer out)
          Not used anymore since 4.4 - but keeping this around; in the future, we might re-use this, as the page shown to regular users while the Magnolia instance is being updated by an admin; only admin(s) would have access to the update status pages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleManagerNullUI

public ModuleManagerNullUI(ModuleManager moduleManager)
Method Detail

onStartup

public void onStartup()
               throws ModuleManagementException
Specified by:
onStartup in interface ModuleManagerUI
Throws:
ModuleManagementException

execute

public boolean execute(java.io.Writer out,
                       java.lang.String command)
                throws ModuleManagementException
Specified by:
execute in interface ModuleManagerUI
Returns:
a boolean indicating if the request should go through or pause until next user action.
Throws:
ModuleManagementException

renderTempPage

public void renderTempPage(java.io.Writer out)
Description copied from interface: ModuleManagerUI
Not used anymore since 4.4 - but keeping this around; in the future, we might re-use this, as the page shown to regular users while the Magnolia instance is being updated by an admin; only admin(s) would have access to the update status pages.

Specified by:
renderTempPage in interface ModuleManagerUI


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.