Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.tomcat.dev
Class DevFrameworkBootstrap

java.lang.Object
  extended by org.nuxeo.osgi.application.FrameworkBootstrap
      extended by org.nuxeo.runtime.tomcat.dev.DevFrameworkBootstrap
All Implemented Interfaces:
LoaderConstants, DevBundlesManager

public class DevFrameworkBootstrap
extends FrameworkBootstrap
implements DevBundlesManager

Author:
Bogdan Stefanescu

Field Summary
 
Fields inherited from interface org.nuxeo.osgi.application.LoaderConstants
ARGS, BUNDLES, CONFIG_DIR, DATA_DIR, DEVMODE, FLUSH_CACHE, HOME_DIR, HOST_NAME, HOST_VERSION, LIBS, LOG_DIR, PREPROCESSING, SCAN_FOR_NESTED_JARS, TMP_DIR, WEB_DIR
 
Constructor Summary
DevFrameworkBootstrap(MutableClassLoader cl, File home)
           
 
Method Summary
 DevBundle[] getDevBundles()
           
 String getDevBundlesLocation()
           
 void installResourceBundleFragments(List<File> files)
           
 void installSeamClasses(File[] dirs)
           
 boolean isTimerRunning()
           
 void loadDevBundles()
           
 void resetDevBundles(String path)
           
 void start()
           
 void stop()
           
 void toggleTimer()
           
 void writeComponentIndex()
           
 
Methods inherited from class org.nuxeo.osgi.application.FrameworkBootstrap
copyFile, copyToFile, copyTree, deleteAll, env, findFileStartingWidth, getClassLoader, getHome, getLoader, initialize, installBundle, setDevMode, setDoPreprocessing, setFlushCache, setHostName, setHostVersion, setScanForNestedJars, uninstallBundle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DevFrameworkBootstrap

public DevFrameworkBootstrap(MutableClassLoader cl,
                             File home)
                      throws IOException
Throws:
IOException
Method Detail

start

public void start()
           throws Exception
Overrides:
start in class FrameworkBootstrap
Throws:
Exception

toggleTimer

public void toggleTimer()
Specified by:
toggleTimer in interface DevBundlesManager

isTimerRunning

public boolean isTimerRunning()
Specified by:
isTimerRunning in interface DevBundlesManager

stop

public void stop()
          throws Exception
Overrides:
stop in class FrameworkBootstrap
Throws:
Exception

getDevBundlesLocation

public String getDevBundlesLocation()
Specified by:
getDevBundlesLocation in interface DevBundlesManager

loadDevBundles

public void loadDevBundles()
Specified by:
loadDevBundles in interface DevBundlesManager

resetDevBundles

public void resetDevBundles(String path)
Specified by:
resetDevBundles in interface DevBundlesManager

getDevBundles

public DevBundle[] getDevBundles()
Specified by:
getDevBundles in interface DevBundlesManager

writeComponentIndex

public void writeComponentIndex()

installSeamClasses

public void installSeamClasses(File[] dirs)
                        throws IOException
Throws:
IOException

installResourceBundleFragments

public void installResourceBundleFragments(List<File> files)
                                    throws IOException
Throws:
IOException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.