public class LogSupport extends Object implements org.osgi.framework.SynchronousBundleListener, org.osgi.framework.ServiceListener, org.osgi.framework.FrameworkListener
LogReaderServiceFactory
TODOModifier and Type | Method and Description |
---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent event)
Listens for Bundle events and logs the respective events according to the
Log Service specification.
|
void |
frameworkEvent(org.osgi.framework.FrameworkEvent event)
Listens for Framework events and logs the respective events according to
the Log Service specification.
|
void |
serviceChanged(org.osgi.framework.ServiceEvent event)
Listens for Service events and logs the respective events according to
the Log Service specification.
|
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 void frameworkEvent(org.osgi.framework.FrameworkEvent event)
In the case of a Framework ERROR which is a ClassNotFoundException for an unresolved bundle, the message is logged at INFO level instead of ERROR level as prescribed by the spec. This is because such a situation should not really result in a Framework ERROR but the Apache Felix framework has no means of controlling this at the moment (framework 1.0.4 release).
frameworkEvent
in interface org.osgi.framework.FrameworkListener
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.