public abstract class AbstractExporter extends Object implements ServiceListener
| Constructor and Description |
|---|
AbstractExporter(BundleContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
protected abstract void |
exportService(ServiceReference<?> reference,
Object service) |
void |
init() |
void |
serviceChanged(ServiceEvent event) |
protected abstract void |
unexportService(ServiceReference<?> serviceReference) |
public AbstractExporter(BundleContext context)
public void init()
throws InvalidSyntaxException
InvalidSyntaxExceptionpublic void dispose()
protected abstract void exportService(ServiceReference<?> reference, Object service)
public void serviceChanged(ServiceEvent event)
serviceChanged in interface ServiceListenerprotected abstract void unexportService(ServiceReference<?> serviceReference)