public class ServiceAdmin extends Object implements org.osgi.service.cm.ManagedServiceFactory
Default values:
<configadmin> <factory-configuration pid="joram.admin"> <property name="name">wrapper</property> <property name="adminUser">anonymous</property> <property name="adminPass">anonymous</property> <!-- properties --> </factory-configuration> </configadmin>
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_HOST |
static String |
ADMIN_PORT |
static String |
ADMIN_USERNAME |
static String |
ADMIN_USERPASS |
private org.osgi.framework.BundleContext |
bundleContext |
static String |
COLLOCATED |
static String |
CONNECTING_TIMER |
private HashMap<String,Connection> |
connections |
static String |
IDENTITYCLASS |
static org.objectweb.util.monolog.api.Logger |
logmon |
static String |
NAME |
static String |
PID_NAME |
private org.osgi.framework.ServiceRegistration |
registration |
private HashMap<String,AdminItf> |
wrappers |
Constructor and Description |
---|
ServiceAdmin(org.osgi.framework.BundleContext bundleContext) |
public static final org.objectweb.util.monolog.api.Logger logmon
public static final String PID_NAME
public static final String ADMIN_HOST
public static final String ADMIN_PORT
public static final String ADMIN_USERNAME
public static final String ADMIN_USERPASS
public static final String NAME
public static final String IDENTITYCLASS
public static final String COLLOCATED
public static final String CONNECTING_TIMER
private org.osgi.framework.BundleContext bundleContext
private org.osgi.framework.ServiceRegistration registration
private HashMap<String,Connection> connections
private final boolean isSet(String value)
public void doStop()
public void doUpdated(String pid, Dictionary properties)
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 © 2013 ScalAgent D.T.. All Rights Reserved.