Nuxeo Enterprise Platform 5.4

org.nuxeo.osgi.application
Class FrameworkBootstrap

java.lang.Object
  extended by org.nuxeo.osgi.application.FrameworkBootstrap
All Implemented Interfaces:
LoaderConstants

public class FrameworkBootstrap
extends java.lang.Object
implements LoaderConstants

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
FrameworkBootstrap(java.lang.ClassLoader cl, java.io.File home)
           
FrameworkBootstrap(MutableClassLoader loader, java.io.File home)
           
 
Method Summary
static void copyFile(java.io.File src, java.io.File file)
           
static void copyToFile(java.io.InputStream in, java.io.File file)
           
static void copyTree(java.io.File src, java.io.File dst)
           
static void deleteAll(java.io.File file)
           
 java.util.Map<java.lang.String,java.lang.Object> env()
           
static java.io.File findFileStartingWidth(java.io.File dir, java.lang.String prefix)
           
 java.lang.ClassLoader getClassLoader()
           
 java.io.File getHome()
           
 MutableClassLoader getLoader()
           
 void initialize()
           
 void setDevMode(java.lang.String devMode)
           
 void setDoPreprocessing(boolean doPreprocessing)
           
 void setFlushCache(boolean flushCache)
           
 void setHostName(java.lang.String value)
           
 void setHostVersion(java.lang.String value)
           
 void setScanForNestedJars(boolean scanForNestedJars)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameworkBootstrap

public FrameworkBootstrap(java.lang.ClassLoader cl,
                          java.io.File home)
                   throws java.io.IOException
Throws:
java.io.IOException

FrameworkBootstrap

public FrameworkBootstrap(MutableClassLoader loader,
                          java.io.File home)
                   throws java.io.IOException
Throws:
java.io.IOException
Method Detail

setHostName

public void setHostName(java.lang.String value)

setHostVersion

public void setHostVersion(java.lang.String value)

setDoPreprocessing

public void setDoPreprocessing(boolean doPreprocessing)

setDevMode

public void setDevMode(java.lang.String devMode)

setFlushCache

public void setFlushCache(boolean flushCache)

setScanForNestedJars

public void setScanForNestedJars(boolean scanForNestedJars)

env

public java.util.Map<java.lang.String,java.lang.Object> env()

getLoader

public MutableClassLoader getLoader()

getClassLoader

public java.lang.ClassLoader getClassLoader()

getHome

public java.io.File getHome()

initialize

public void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Throws:
java.lang.Exception

deleteAll

public static void deleteAll(java.io.File file)

copyFile

public static void copyFile(java.io.File src,
                            java.io.File file)
                     throws java.io.IOException
Throws:
java.io.IOException

copyToFile

public static void copyToFile(java.io.InputStream in,
                              java.io.File file)
                       throws java.io.IOException
Throws:
java.io.IOException

findFileStartingWidth

public static java.io.File findFileStartingWidth(java.io.File dir,
                                                 java.lang.String prefix)

copyTree

public static void copyTree(java.io.File src,
                            java.io.File dst)
                     throws java.io.IOException
Throws:
java.io.IOException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.