public class LogReaderServiceFactory extends Object implements org.osgi.framework.ServiceFactory
LogReaderServiceFactory
is the service factory for
LogReader
service instances supplied to bundles.
When a bundle which registers a LogListener object is stopped or otherwise releases the Log Reader Service, the Log Reader Service must remove all of the bundle's listeners.
Modifier and Type | Method and Description |
---|---|
Object |
getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration registration) |
void |
ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration registration,
Object service) |
public Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)
getService
in interface org.osgi.framework.ServiceFactory
public void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, Object service)
ungetService
in interface org.osgi.framework.ServiceFactory
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.