public class ServiceTopic extends ServiceDestination implements org.osgi.service.cm.ManagedServiceFactory
<configadmin> <factory-configuration pid="joram.topic"> <property name="adminWrapper">ra</property> <property name="serverId">0</property> <property name="name">topic</property> <!-- properties --> <property name="freeReading">true</property> <property name="writers">user1 user2</property> <property name="jndiName">topic</property> </factory-configuration> </configadmin>
Modifier and Type | Field and Description |
---|---|
private String |
className |
static Logger |
logmon |
static String |
PID_NAME |
private org.osgi.framework.ServiceRegistration |
registration |
ADMIN_HOST, ADMIN_PORT, ADMIN_USERNAME, ADMIN_WRAPPER, bundleContext, destinations, DMQ, DMQ_SID, FREEREADING, FREEWRITING, JNDINAME, jndiNames, NAME, NB_MAXMSG, READERS, registrations, SERVERID, THRESHOLD, TYPE, WRITERS
Constructor and Description |
---|
ServiceTopic(org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
void |
deleted(String pid) |
void |
doStop() |
String |
getName() |
void |
updated(String pid,
Dictionary properties) |
doUpdated, isSet
public static final Logger logmon
public static final String PID_NAME
private org.osgi.framework.ServiceRegistration registration
private String className
public void doStop()
public String getName()
getName
in interface org.osgi.service.cm.ManagedServiceFactory
public void updated(String pid, Dictionary 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
deleted
in class ServiceDestination
Copyright © 2022 ScalAgent D.T.. All rights reserved.