org.ofbiz.base.container
Class ClassLoaderContainer
java.lang.Object
org.ofbiz.base.container.ClassLoaderContainer
- All Implemented Interfaces:
- Container
public class ClassLoaderContainer
- extends java.lang.Object
- implements Container
ClassLoader Container; Created a CachedClassLoader for use by all following containers
Method Summary |
static java.lang.ClassLoader |
getClassLoader()
|
void |
init(java.lang.String[] args,
java.lang.String configFile)
Initialize the container |
boolean |
start()
Start the container |
void |
stop()
Stop the container |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
cl
protected static CachedClassLoader cl
ClassLoaderContainer
public ClassLoaderContainer()
init
public void init(java.lang.String[] args,
java.lang.String configFile)
throws ContainerException
- Description copied from interface:
Container
- Initialize the container
- Specified by:
init
in interface Container
- Parameters:
args
- args from calling classconfigFile
- Location of master OFBiz configuration file
- Throws:
ContainerException
- See Also:
Container.init(java.lang.String[], java.lang.String)
start
public boolean start()
throws ContainerException
- Description copied from interface:
Container
- Start the container
- Specified by:
start
in interface Container
- Returns:
- true if server started
- Throws:
ContainerException
- See Also:
Container.start()
stop
public void stop()
throws ContainerException
- Description copied from interface:
Container
- Stop the container
- Specified by:
stop
in interface Container
- Throws:
ContainerException
- See Also:
Container.stop()
getClassLoader
public static java.lang.ClassLoader getClassLoader()