org.objectweb.jonas.server
Class LoaderManager
java.lang.Object
org.objectweb.jonas.server.LoaderManager
public final class LoaderManager
- extends Object
This class create all the ClassLoader necessary for JOnAS.
system ($CLASSPATH)
|
commons
/\
/ \
/ \
apps tools
\
catalina
- Author:
- Guillaume Sauthier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static LoaderManager getInstance()
- Returns:
- Returns the unique instance of LoaderManager.
init
public void init(JProp props)
- Initialize the LoaderManager with a JProp instance.
- Parameters:
props
- JProp used to configure JOnAS
getCommonsLoader
public JClassLoader getCommonsLoader()
throws Exception
- Returns:
- Returns the Commons ClassLoader
- Throws:
Exception
- When ClassLoader cannot be created.
getToolsLoader
public JClassLoader getToolsLoader()
throws Exception
- Returns:
- returns the Tools ClassLoader
- Throws:
Exception
- When ClassLoader cannot be created
getAppsLoader
public JClassLoader getAppsLoader()
throws Exception
- Returns:
- Returns the Application ClassLoader
- Throws:
Exception
- When ClassLoader cannot be created
getCatalinaLoader
public JClassLoader getCatalinaLoader()
throws Exception
- Returns:
- Returns the Catalina ClassLoader
- Throws:
Exception
- When ClassLoader cannot be created.
Copyright © 2007 OW2 Consortium. All Rights Reserved.