|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OsgiContainerManager
Manages the OSGi container and handles any interactions with it
| Method Summary | |
|---|---|
org.osgi.framework.Bundle[] |
getBundles()
Gets a list of installed bundles |
java.util.List<HostComponentRegistration> |
getHostComponentRegistrations()
Gets a list of host component registrations |
org.osgi.framework.ServiceReference[] |
getRegisteredServices()
Gets a list of service references |
org.osgi.framework.Bundle |
installBundle(java.io.File file)
Installs a bundle into a running OSGI container |
boolean |
isRunning()
|
void |
reloadHostComponents(HostComponentProvider provider)
Reloads all host components used |
void |
start(java.util.Collection<org.twdata.pkgscanner.ExportPackage> exports,
HostComponentProvider provider)
Starts the OSGi container |
void |
stop()
Stops the OSGi container |
| Method Detail |
|---|
void start(java.util.Collection<org.twdata.pkgscanner.ExportPackage> exports,
HostComponentProvider provider)
throws OsgiContainerException
exports - The packages to exportprovider - The host component provider to use when registering host services
OsgiContainerException - If the container cannot be started
void stop()
throws OsgiContainerException
OsgiContainerException - If the container cannot be stopped
org.osgi.framework.Bundle installBundle(java.io.File file)
throws OsgiContainerException
file - The bundle file to install
OsgiContainerException - If the bundle cannot be loadedvoid reloadHostComponents(HostComponentProvider provider)
provider - The host component provider to use when registering host servicesboolean isRunning()
org.osgi.framework.Bundle[] getBundles()
org.osgi.framework.ServiceReference[] getRegisteredServices()
java.util.List<HostComponentRegistration> getHostComponentRegistrations()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||