public class BundleWatcherImpl extends Object implements org.osgi.framework.SynchronousBundleListener, org.osgi.framework.ServiceListener, BundleWatcher
Constructor and Description |
---|
BundleWatcherImpl() |
Modifier and Type | Method and Description |
---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent event) |
void |
checkExistingBundles() |
void |
destroy() |
ServerInfo |
getBundleServerInfo(org.osgi.framework.Bundle bundle) |
List<ServerInfo> |
getServerInfos()
Retrieves the list of the server information objects, that include extensions.
|
void |
init() |
boolean |
isStartupComplete() |
void |
serviceChanged(org.osgi.framework.ServiceEvent event) |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
void |
setCheckStartupStateRefreshInterval(Integer checkStartupStateRefreshInterval) |
void |
setRequiredBundles(Map<String,Boolean> requiredBundles) |
void |
setRequiredServices(String requiredServices) |
public void setCheckStartupStateRefreshInterval(Integer checkStartupStateRefreshInterval)
public void setRequiredServices(String requiredServices)
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
public void init()
public List<ServerInfo> getServerInfos()
BundleWatcher
getServerInfos
in interface BundleWatcher
public void destroy()
public void checkExistingBundles()
public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged
in interface org.osgi.framework.BundleListener
public void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged
in interface org.osgi.framework.ServiceListener
public boolean isStartupComplete()
isStartupComplete
in interface BundleWatcher
public ServerInfo getBundleServerInfo(org.osgi.framework.Bundle bundle)
Copyright © 2014–2022 Apache Software Foundation. All rights reserved.