Dashboard Builder Commons 6.0.0.Beta1

org.jboss.dashboard.factory
Class InitialModulesManager

java.lang.Object
  extended by org.jboss.dashboard.factory.InitialModulesManager
All Implemented Interfaces:
Startable

@ApplicationScoped
public class InitialModulesManager
extends Object
implements Startable

A platform component that manages the loading and execution of all the registered InitialModule components at start-up time.


Field Summary
static org.apache.commons.logging.Log log
           
 
Constructor Summary
InitialModulesManager()
           
 
Method Summary
 Priority getPriority()
           
protected  InstalledModule loadAndLockModule(String moduleName)
           
 void start()
           
protected  void storeModule(InstalledModule currentVersion, InitialModule newVersion)
           
protected  void unlockModule(InstalledModule currentVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static transient org.apache.commons.logging.Log log
Constructor Detail

InitialModulesManager

public InitialModulesManager()
Method Detail

getPriority

public Priority getPriority()
Specified by:
getPriority in interface Startable

start

public void start()
           throws Exception
Specified by:
start in interface Startable
Throws:
Exception

unlockModule

protected void unlockModule(InstalledModule currentVersion)
                     throws Exception
Throws:
Exception

storeModule

protected void storeModule(InstalledModule currentVersion,
                           InitialModule newVersion)

loadAndLockModule

protected InstalledModule loadAndLockModule(String moduleName)

Dashboard Builder Commons 6.0.0.Beta1

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.