org.eclipse.equinox.log.internal
Class EventAdminAdapter
java.lang.Object
org.eclipse.equinox.log.internal.EventAdminAdapter
- All Implemented Interfaces:
- ServiceTrackerCustomizer<Object,Object>
public class EventAdminAdapter
- extends Object
- implements ServiceTrackerCustomizer<Object,Object>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EVENT_TOPIC
public static final String EVENT_TOPIC
- See Also:
- Constant Field Values
EventAdminAdapter
public EventAdminAdapter(BundleContext context,
ExtendedLogReaderServiceFactory logReaderServiceFactory)
start
public void start()
stop
public void stop()
addingService
public Object addingService(ServiceReference<Object> reference)
- Description copied from interface:
ServiceTrackerCustomizer
- A service is being added to the
ServiceTracker.
This method is called before a service which matched the search
parameters of the ServiceTracker is added to the
ServiceTracker. This method should return the service object
to be tracked for the specified ServiceReference. The
returned service object is stored in the ServiceTracker and
is available from the getService and
getServices methods.
- Specified by:
addingService in interface ServiceTrackerCustomizer<Object,Object>
- Parameters:
reference - The reference to the service being added to the
ServiceTracker.
- Returns:
- The service object to be tracked for the specified referenced
service or
null if the specified referenced service
should not be tracked.
modifiedService
public void modifiedService(ServiceReference<Object> reference,
Object tracked)
- Description copied from interface:
ServiceTrackerCustomizer
- A service tracked by the
ServiceTracker has been modified.
This method is called when a service being tracked by the
ServiceTracker has had it properties modified.
- Specified by:
modifiedService in interface ServiceTrackerCustomizer<Object,Object>
- Parameters:
reference - The reference to the service that has been modified.tracked - The service object for the specified referenced service.
removedService
public void removedService(ServiceReference<Object> reference,
Object tracked)
- Description copied from interface:
ServiceTrackerCustomizer
- A service tracked by the
ServiceTracker has been removed.
This method is called after a service is no longer being tracked by the
ServiceTracker.
- Specified by:
removedService in interface ServiceTrackerCustomizer<Object,Object>
- Parameters:
reference - The reference to the service that has been removed.tracked - The service object for the specified referenced service.
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.