public class PublisherConfigurationAvailable extends Object implements org.osgi.service.cm.ManagedServiceFactory
PublisherConfigurationAvailable
when such configuration
could be found. To avoid costly reactivation cycles, the marker
service remains registered until this service is deactivated.
This service is meant to be executed on every instance, even in a cluster.Constructor and Description |
---|
PublisherConfigurationAvailable() |
Modifier and Type | Method and Description |
---|---|
void |
activate(org.osgi.framework.BundleContext context) |
void |
deactivate() |
void |
deleted(String pid) |
String |
getName() |
protected boolean |
isAvailable() |
void |
updated(String pid,
Dictionary<String,?> properties) |
public void activate(org.osgi.framework.BundleContext context)
public void deactivate()
protected boolean isAvailable()
public String getName()
getName
in interface org.osgi.service.cm.ManagedServiceFactory
public void updated(String pid, Dictionary<String,?> properties) throws org.osgi.service.cm.ConfigurationException
updated
in interface org.osgi.service.cm.ManagedServiceFactory
org.osgi.service.cm.ConfigurationException
public void deleted(String pid)
deleted
in interface org.osgi.service.cm.ManagedServiceFactory
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.