Package com.yahoo.container.jdisc
Class DisableOsgiFramework
- java.lang.Object
-
- com.yahoo.container.jdisc.DisableOsgiFramework
-
- All Implemented Interfaces:
com.yahoo.jdisc.application.OsgiFramework
public final class DisableOsgiFramework extends Object implements com.yahoo.jdisc.application.OsgiFramework
- Author:
- Tony Vaagenes
-
-
Constructor Summary
Constructors Constructor Description DisableOsgiFramework()
DisableOsgiFramework(RestrictedBundleContext restrictedBundleContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
allowDuplicateBundles(Collection<org.osgi.framework.Bundle> bundles)
org.osgi.framework.BundleContext
bundleContext()
List<org.osgi.framework.Bundle>
bundles()
List<org.osgi.framework.Bundle>
getBundles(org.osgi.framework.Bundle requestingBundle)
List<org.osgi.framework.Bundle>
installBundle(String bundleLocation)
void
refreshPackages()
void
start()
void
startBundles(List<org.osgi.framework.Bundle> bundles, boolean privileged)
void
stop()
-
-
-
Constructor Detail
-
DisableOsgiFramework
public DisableOsgiFramework()
-
DisableOsgiFramework
public DisableOsgiFramework(RestrictedBundleContext restrictedBundleContext)
-
-
Method Detail
-
installBundle
public List<org.osgi.framework.Bundle> installBundle(String bundleLocation) throws org.osgi.framework.BundleException
- Specified by:
installBundle
in interfacecom.yahoo.jdisc.application.OsgiFramework
- Throws:
org.osgi.framework.BundleException
-
startBundles
public void startBundles(List<org.osgi.framework.Bundle> bundles, boolean privileged) throws org.osgi.framework.BundleException
- Specified by:
startBundles
in interfacecom.yahoo.jdisc.application.OsgiFramework
- Throws:
org.osgi.framework.BundleException
-
refreshPackages
public void refreshPackages()
- Specified by:
refreshPackages
in interfacecom.yahoo.jdisc.application.OsgiFramework
-
bundleContext
public org.osgi.framework.BundleContext bundleContext()
- Specified by:
bundleContext
in interfacecom.yahoo.jdisc.application.OsgiFramework
-
bundles
public List<org.osgi.framework.Bundle> bundles()
- Specified by:
bundles
in interfacecom.yahoo.jdisc.application.OsgiFramework
-
getBundles
public List<org.osgi.framework.Bundle> getBundles(org.osgi.framework.Bundle requestingBundle)
- Specified by:
getBundles
in interfacecom.yahoo.jdisc.application.OsgiFramework
-
allowDuplicateBundles
public void allowDuplicateBundles(Collection<org.osgi.framework.Bundle> bundles)
- Specified by:
allowDuplicateBundles
in interfacecom.yahoo.jdisc.application.OsgiFramework
-
start
public void start() throws org.osgi.framework.BundleException
- Specified by:
start
in interfacecom.yahoo.jdisc.application.OsgiFramework
- Throws:
org.osgi.framework.BundleException
-
stop
public void stop() throws org.osgi.framework.BundleException
- Specified by:
stop
in interfacecom.yahoo.jdisc.application.OsgiFramework
- Throws:
org.osgi.framework.BundleException
-
-