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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
allowDuplicateBundles
(Collection<org.osgi.framework.Bundle> bundles) org.osgi.framework.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
void
start()
void
startBundles
(List<org.osgi.framework.Bundle> bundles, boolean privileged) void
stop()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.yahoo.jdisc.application.OsgiFramework
isFelixFramework
-
Constructor Details
-
DisableOsgiFramework
public DisableOsgiFramework() -
DisableOsgiFramework
-
-
Method Details
-
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
- Specified by:
bundles
in interfacecom.yahoo.jdisc.application.OsgiFramework
-
getBundles
- Specified by:
getBundles
in interfacecom.yahoo.jdisc.application.OsgiFramework
-
allowDuplicateBundles
- 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
-