|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.runner.provision.internal.InstallableBundleImpl
public class InstallableBundleImpl
| Constructor Summary | |
|---|---|
InstallableBundleImpl(org.osgi.framework.BundleContext bundleContext,
BundleReference reference)
Creates a new Installable Bundle with no start level service. |
|
InstallableBundleImpl(org.osgi.framework.BundleContext bundleContext,
BundleReference reference,
org.osgi.service.startlevel.StartLevel startLevelService)
Creates a new Installable Bundle with a start level service that can be null. |
|
| Method Summary | |
|---|---|
org.osgi.framework.Bundle |
getBundle()
Return the installed bundle. |
InstallableBundle |
install()
Installs the bundle. |
InstallableBundle |
start()
Starts the installed bundle regardles the fact that the bundle was marked that it should not start. |
InstallableBundle |
startIfNecessary()
Starts the installed bundle if the bundle should be started. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstallableBundleImpl(org.osgi.framework.BundleContext bundleContext,
BundleReference reference)
bundleContext - a bundle context; mandatoryreference - a bundle reference; mandatory
public InstallableBundleImpl(org.osgi.framework.BundleContext bundleContext,
BundleReference reference,
org.osgi.service.startlevel.StartLevel startLevelService)
bundleContext - a bundle context; mandatoryreference - a bundle reference; mandatorystartLevelService - a start level service; optional| Method Detail |
|---|
public org.osgi.framework.Bundle getBundle()
InstallableBundle
getBundle in interface InstallableBundleInstallableBundle.getBundle()
public InstallableBundle install()
throws org.osgi.framework.BundleException
InstallableBundle
install in interface InstallableBundleorg.osgi.framework.BundleException - if the bundle could not be installedInstallableBundle.install()
public InstallableBundle startIfNecessary()
throws org.osgi.framework.BundleException
InstallableBundle
startIfNecessary in interface InstallableBundleorg.osgi.framework.BundleException - if the bundle could not be installedInstallableBundle.startIfNecessary()
public InstallableBundle start()
throws org.osgi.framework.BundleException
InstallableBundle
start in interface InstallableBundleorg.osgi.framework.BundleException - if the bundle could not be installedInstallableBundle.start()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||