net.sf.sail.common.apps.preview
Class BundleLauncher
java.lang.Object
net.sf.sail.common.apps.preview.BundleLauncher
public class BundleLauncher
- extends java.lang.Object
- Author:
- scytacki
AUDIT07-
Method Summary |
static void |
launch(java.net.URL bundlesXML,
ICurnitProvider curnitProvider)
|
static void |
launch(java.net.URL bundlesXML,
ICurnitProvider curnitProvider,
java.util.Collection<Bundle> extraBundles)
|
static void |
launch(java.net.URL bundlesXML,
ICurnitProvider curnitProvider,
java.util.Collection<Bundle> extraBundles,
java.lang.ClassLoader classLoader)
|
static void |
launch(java.net.URL bundlesXML,
java.lang.String[] args,
java.util.List<Bundle> extraBundles)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleLauncher
public BundleLauncher()
main
public static void main(java.lang.String[] args)
throws java.io.IOException,
java.util.TooManyListenersException
- Parameters:
args
-
- Throws:
java.util.TooManyListenersException
java.io.IOException
launch
public static void launch(java.net.URL bundlesXML,
java.lang.String[] args,
java.util.List<Bundle> extraBundles)
throws java.io.IOException
- Throws:
java.io.IOException
launch
public static void launch(java.net.URL bundlesXML,
ICurnitProvider curnitProvider)
throws java.io.IOException
- Parameters:
bundlesXML
- curnitProvider
-
- Throws:
java.io.IOException
launch
public static void launch(java.net.URL bundlesXML,
ICurnitProvider curnitProvider,
java.util.Collection<Bundle> extraBundles)
throws java.io.IOException
- Throws:
java.io.IOException
launch
public static void launch(java.net.URL bundlesXML,
ICurnitProvider curnitProvider,
java.util.Collection<Bundle> extraBundles,
java.lang.ClassLoader classLoader)
throws java.io.IOException
- Parameters:
bundlesXML
- url pointing to a xmlencoded config file to set
up the services. contains location to download student session
data. Might or might not contain curnitprovider.curnitProvider
- provides curnit for this session. If set it will add to the servicecontext.
If null, bundlesXML or extraBundles will configure the curnit.extraBundles
- bundles that are provided externally outside the bundlesXML file. These bundles
are added before the bundles from the bundlesXML file. So they can be overridden by the bundleXML file.
if it becomes necessary to provide bundles which override the ones in the bundlesXML file then
a new param should be added which does this.classLoader
- if this is not null it will be used by XMLDecoder to load in the classes referenced by
the bundlesXML. If it is null then the current Threads contextClassloader will be used.
- Throws:
java.io.IOException
Copyright © 2004-2008 TELS Center. All Rights Reserved.