org.nuxeo.runtime.tomcat.dev
Class DevFrameworkBootstrap
java.lang.Object
org.nuxeo.osgi.application.FrameworkBootstrap
org.nuxeo.runtime.tomcat.dev.DevFrameworkBootstrap
- All Implemented Interfaces:
- LoaderConstants, DevBundlesManager
public class DevFrameworkBootstrap
- extends FrameworkBootstrap
- implements DevBundlesManager
- Author:
- Bogdan Stefanescu
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 |
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 |
DevFrameworkBootstrap
public DevFrameworkBootstrap(MutableClassLoader cl,
File home)
throws IOException
- Throws:
IOException
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.