|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.muse.core.platform.osgi.util.BundleRootHelper
public class BundleRootHelper
BundleRootHelper allows bundles to specify a file system root for use in loading persistence data, etc.
Constructor Summary | |
---|---|
BundleRootHelper()
|
Method Summary | |
---|---|
static String |
getContextForBundle(org.osgi.framework.Bundle bundle)
returns the registerd file system root |
static File |
getRootForBundle(org.osgi.framework.Bundle bundle)
returns the registerd file system root |
static void |
registerContext(org.osgi.framework.Bundle bundle,
String context)
registers a Muse context (from the manifest)for a particular bundle |
static void |
registerRoot(org.osgi.framework.Bundle bundle,
File root)
registers a File System root for a particular bundle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BundleRootHelper()
Method Detail |
---|
public static void registerRoot(org.osgi.framework.Bundle bundle, File root)
bundle
- root
- public static void registerContext(org.osgi.framework.Bundle bundle, String context)
bundle
- root
- public static File getRootForBundle(org.osgi.framework.Bundle bundle)
bundle
-
Axis2Environment.getRealDirectory()
public static String getContextForBundle(org.osgi.framework.Bundle bundle)
bundle
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |