|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xwiki.environment.System
public final class System
Helper class that can be used to easily initialize the full XWiki System (ie Component Manager and Environment).
Method Summary | |
---|---|
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). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 manager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |