|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.sail.core.bundle.BundleManager
public class BundleManager
Constructor Summary | |
---|---|
BundleManager()
|
Method Summary | |
---|---|
void |
addBundles(java.util.Collection<Bundle> extraBundles)
|
void |
addBundles(java.io.InputStream inStream)
Reads in all of the objects are defined in the bundlesXML file |
java.lang.ClassLoader |
getClassLoader()
|
ServiceContext |
getServiceContext()
|
void |
initializeBundles()
call registerServices on all of the bundles call initializeBundle on each bundle All the bundles must be registered first, and after that the bundles can be initialized Sets contextURL to the bundle as necessary |
void |
setClassLoader(java.lang.ClassLoader classLoader)
This will set the classloader used by the xmldecoder to load in the bundles |
void |
setContextURL(java.net.URL contextURL)
Sets the relative url context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BundleManager()
Method Detail |
---|
public void setContextURL(java.net.URL contextURL)
contextURL
- url that the url is relative topublic ServiceContext getServiceContext()
public void addBundles(java.io.InputStream inStream) throws java.io.IOException
inStream
- inputStream of the bundlesXML
java.io.IOException
public void addBundles(java.util.Collection<Bundle> extraBundles)
public void initializeBundles()
public java.lang.ClassLoader getClassLoader()
public void setClassLoader(java.lang.ClassLoader classLoader)
classLoader
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |