org.universAAL.lddi.knx.exporter.util
Class LogTracker

Package class diagram package LogTracker
java.lang.Object
  extended by org.osgi.util.tracker.ServiceTracker
      extended by org.universAAL.lddi.knx.exporter.util.LogTracker
All Implemented Interfaces:
org.osgi.service.log.LogService, org.osgi.util.tracker.ServiceTrackerCustomizer

public class LogTracker
extends org.osgi.util.tracker.ServiceTracker
implements org.osgi.service.log.LogService

Author:
Thomas Fuxreiter (foex@gmx.at)

Field Summary
 
Fields inherited from class org.osgi.util.tracker.ServiceTracker
context, filter
 
Fields inherited from interface org.osgi.service.log.LogService
LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING
 
Constructor Summary
LogTracker(org.osgi.framework.BundleContext context)
           
 
Method Summary
 Object addingService(org.osgi.framework.ServiceReference reference)
           
 void log(int level, String message)
           
 void log(int level, String message, Throwable exception)
           
 void log(org.osgi.framework.ServiceReference sr, int level, String message)
           
 void log(org.osgi.framework.ServiceReference sr, int level, String message, Throwable exception)
           
 void modifiedService(org.osgi.framework.ServiceReference reference, Object service)
           
 void removedService(org.osgi.framework.ServiceReference reference, Object service)
           
 
Methods inherited from class org.osgi.util.tracker.ServiceTracker
close, finalize, getService, getService, getServiceReference, getServiceReferences, getServices, getTrackingCount, open, open, remove, size, waitForService
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogTracker

public LogTracker(org.osgi.framework.BundleContext context)
Method Detail

addingService

public Object addingService(org.osgi.framework.ServiceReference reference)
Specified by:
addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
Overrides:
addingService in class org.osgi.util.tracker.ServiceTracker

modifiedService

public void modifiedService(org.osgi.framework.ServiceReference reference,
                            Object service)
Specified by:
modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
Overrides:
modifiedService in class org.osgi.util.tracker.ServiceTracker

removedService

public void removedService(org.osgi.framework.ServiceReference reference,
                           Object service)
Specified by:
removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
Overrides:
removedService in class org.osgi.util.tracker.ServiceTracker

log

public void log(int level,
                String message)
Specified by:
log in interface org.osgi.service.log.LogService

log

public void log(int level,
                String message,
                Throwable exception)
Specified by:
log in interface org.osgi.service.log.LogService

log

public void log(org.osgi.framework.ServiceReference sr,
                int level,
                String message)
Specified by:
log in interface org.osgi.service.log.LogService

log

public void log(org.osgi.framework.ServiceReference sr,
                int level,
                String message,
                Throwable exception)
Specified by:
log in interface org.osgi.service.log.LogService


Copyright © 2014 universAAL Consortium. All Rights Reserved.