public class ConnectionFactoryMSF extends Object implements org.osgi.service.cm.ManagedServiceFactory
<configadmin> <factory-configuration pid="org.objectweb.joram.client.osgi.ConnectionFactoryMSF"> <property name="className">org.objectweb.joram.client.jms.tcp.TcpConnectionFactory</property> <property name="host">localhost</property> <property name="port">16010</property> <property name="jndiName">JCF</property> <!-- properties --> </factory-configuration> </configadmin>
Modifier and Type | Field and Description |
---|---|
private org.osgi.framework.BundleContext |
bundleContext |
static String |
CLASSNAME |
private HashMap<String,AbstractConnectionFactory> |
cnxFactories |
static String |
HOST |
static String |
IDENTITYCLASS |
static String |
ININTERCEPTORCLASS |
private JndiHelper |
jndiHelper |
static String |
JNDINAME |
private HashMap<String,String> |
jndiNames |
static Logger |
logmon |
static String |
NAME |
static String |
OUTINTERCEPTORCLASS |
static String |
PORT |
private org.osgi.framework.ServiceRegistration |
registration |
static String |
RELIABLECLASS |
static String |
TIMEOUT |
Constructor and Description |
---|
ConnectionFactoryMSF(org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
void |
deleted(String pid) |
protected void |
doStart() |
protected void |
doStop() |
String |
getName() |
private boolean |
isSet(String value) |
void |
updated(String pid,
Dictionary properties) |
public static final Logger logmon
public static final String CLASSNAME
public static final String HOST
public static final String PORT
public static final String RELIABLECLASS
public static final String TIMEOUT
public static final String IDENTITYCLASS
public static final String ININTERCEPTORCLASS
public static final String OUTINTERCEPTORCLASS
public static final String JNDINAME
public static final String NAME
private org.osgi.framework.BundleContext bundleContext
private org.osgi.framework.ServiceRegistration registration
private HashMap<String,AbstractConnectionFactory> cnxFactories
private JndiHelper jndiHelper
public ConnectionFactoryMSF(org.osgi.framework.BundleContext bundleContext)
private final boolean isSet(String value)
protected 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
Copyright © 2022 ScalAgent D.T.. All rights reserved.