Nuxeo Enterprise Platform 5.1

org.nuxeo.runtime.launcher
Class RuntimeLoader

java.lang.Object
  extended by org.nuxeo.runtime.launcher.RuntimeLoader

public class RuntimeLoader
extends Object

Author:
Bogdan Stefanescu

Field Summary
static String BUNDLES_DIR
           
static String CONFIG_DIR
           
static String DATA_DIR
           
static String EXTRACT_NESTED_JARS
           
static String LIB_DIR
           
static String SCAN_FOR_NESTED_JARS
           
 
Constructor Summary
RuntimeLoader()
           
RuntimeLoader(File configFile)
           
RuntimeLoader(Properties properties)
           
 
Method Summary
 StandaloneBundleLoader getBundleLoader()
           
 File getBundlesDir()
           
 File getConfigDir()
           
 File getDataDir()
           
 File getLibDir()
           
 Properties getProperties()
           
 ClassLoader loadRuntime()
           
 ClassLoader loadRuntime(ClassLoader parentLoader)
           
 void setProperties(File cfg)
           
 void setProperties(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTRACT_NESTED_JARS

public static final String EXTRACT_NESTED_JARS
See Also:
Constant Field Values

SCAN_FOR_NESTED_JARS

public static final String SCAN_FOR_NESTED_JARS
See Also:
Constant Field Values

LIB_DIR

public static final String LIB_DIR
See Also:
Constant Field Values

DATA_DIR

public static final String DATA_DIR
See Also:
Constant Field Values

BUNDLES_DIR

public static final String BUNDLES_DIR
See Also:
Constant Field Values

CONFIG_DIR

public static final String CONFIG_DIR
See Also:
Constant Field Values
Constructor Detail

RuntimeLoader

public RuntimeLoader()

RuntimeLoader

public RuntimeLoader(File configFile)

RuntimeLoader

public RuntimeLoader(Properties properties)
Method Detail

getProperties

public Properties getProperties()
Returns:
the properties.

setProperties

public void setProperties(Properties properties)
Parameters:
properties - the properties to set.

setProperties

public void setProperties(File cfg)

getBundleLoader

public StandaloneBundleLoader getBundleLoader()
Returns:
the bundleLoader.

getDataDir

public File getDataDir()

getConfigDir

public File getConfigDir()

getLibDir

public File getLibDir()

getBundlesDir

public File getBundlesDir()

loadRuntime

public ClassLoader loadRuntime()
                        throws Exception
Throws:
Exception

loadRuntime

public ClassLoader loadRuntime(ClassLoader parentLoader)
                        throws Exception
Throws:
Exception

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.