public final class System extends Object
Modifier and Type | Method and Description |
---|---|
static void |
dispose(org.xwiki.component.manager.ComponentManager componentManager)
Free resource taken by the Component Manager create by one of the
initialize methods. |
static org.xwiki.component.manager.ComponentManager |
initialize()
Initialize the full XWiki system (ie Component Manager and Environment), using the class loader that loaded
this class, using the "java.io.tmpdir" System property value as the temporary diretory location, without
any resource directory set and without any permanent directory set either.
|
static org.xwiki.component.manager.ComponentManager |
initialize(ClassLoader classLoader)
Initialize the full XWiki system (ie Component Manager and Environment), using the "java.io.tmpdir" System
property value as the temporary diretory location, without any resource directory set and without any permanent
directory set either.
|
static org.xwiki.component.manager.ComponentManager |
initialize(File permanentDirectory)
Initialize the full XWiki system (ie Component Manager and Environment), using the class loader that loaded
this class, using the "java.io.tmpdir" System property value as the temporary diretory location and without
any resource directory set (the permanent directory will be used as the resource directory).
|
static org.xwiki.component.manager.ComponentManager |
initialize(File permanentDirectory,
File resourceDirectory)
Initialize the full XWiki system (ie Component Manager and Environment), using the class loader that loaded
this class and using the "java.io.tmpdir" System property value as the temporary diretory location.
|
static org.xwiki.component.manager.ComponentManager |
initialize(File permanentDirectory,
File resourceDirectory,
File temporaryDirectory)
Initialize the full XWiki system (ie Component Manager and Environment), using the class loader that loaded
this class.
|
static org.xwiki.component.manager.ComponentManager |
initialize(File permanentDirectory,
File resourceDirectory,
File temporaryDirectory,
ClassLoader classLoader)
Initialize the full XWiki system (ie Component Manager and Environment).
|
public static org.xwiki.component.manager.ComponentManager initialize(ClassLoader classLoader)
classLoader
- see EmbeddableComponentManager.initialize(ClassLoader)
dispose(ComponentManager)
public static org.xwiki.component.manager.ComponentManager initialize()
dispose(ComponentManager)
public static org.xwiki.component.manager.ComponentManager initialize(File permanentDirectory)
permanentDirectory
- see Environment.getPermanentDirectory()
dispose(ComponentManager)
public static org.xwiki.component.manager.ComponentManager initialize(File permanentDirectory, File resourceDirectory)
permanentDirectory
- see Environment.getPermanentDirectory()
resourceDirectory
- see
StandardEnvironment.setResourceDirectory(java.io.File)
dispose(ComponentManager)
public static org.xwiki.component.manager.ComponentManager initialize(File permanentDirectory, File resourceDirectory, File temporaryDirectory)
permanentDirectory
- see Environment.getPermanentDirectory()
resourceDirectory
- see
StandardEnvironment.setResourceDirectory(java.io.File)
temporaryDirectory
- see Environment.getTemporaryDirectory()
dispose(ComponentManager)
public static org.xwiki.component.manager.ComponentManager initialize(File permanentDirectory, File resourceDirectory, File temporaryDirectory, ClassLoader classLoader)
permanentDirectory
- see Environment.getPermanentDirectory()
resourceDirectory
- see
StandardEnvironment.setResourceDirectory(java.io.File)
temporaryDirectory
- see Environment.getTemporaryDirectory()
classLoader
- see EmbeddableComponentManager.initialize(ClassLoader)
dispose(ComponentManager)
public static void dispose(org.xwiki.component.manager.ComponentManager componentManager)
initialize
methods.componentManager
- the component managerCopyright © 2004–2014 XWiki. All rights reserved.