public class SynchConnections extends org.bedework.util.jmx.ConfBase implements SynchConnectionsMBean
They are stored in a table with a url as the key. The url is the callback url of the synch service.
At this point I'm not sure how there can be more than one useful callback url. How do we select which one to callback to?
| Modifier and Type | Field and Description |
|---|---|
static String |
confuriPname |
cfg, statusDone, statusFailed, statusInterrupted, statusRunning, statusStopped, statusTimedout, statusUnknownconfigName, serviceName| Constructor and Description |
|---|
SynchConnections() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
activeConnectionInfo() |
SynchConnection |
getConnection(String callbackUrl)
Find a connection
|
SynchConnection |
getConnectionById(String id)
Get a connection for outbound calls by id
|
String |
loadConfig() |
void |
setConnection(SynchConnection val)
Put/update a connection
|
createObjectName, getConfig, getConfigInfo, getConfigInfo, getConfigInfo, getConfigName, getConfigPname, getConfigUri, getLogger, getManagementContext, getPathSuffix, getRegisteredMBeans, getServiceName, getServiceObjectName, getStatus, getStore, isRunning, loadConfig, loadOnlyConfig, makeObject, register, register, saveConfig, setConfigName, setConfigPname, setConfigUri, setPathSuffix, setServiceName, setStatus, setStore, start, stop, unregister, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigName, getStatus, saveConfig, setConfigName, setStatusgetServiceName, isRunning, start, stopaudit, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, warnpublic static final String confuriPname
public String loadConfig()
loadConfig in class org.bedework.util.jmx.ConfBasepublic void setConnection(SynchConnection val)
SynchConnectionsMBeansetConnection in interface SynchConnectionsMBeanpublic SynchConnection getConnection(String callbackUrl)
SynchConnectionsMBeangetConnection in interface SynchConnectionsMBeanpublic SynchConnection getConnectionById(String id)
SynchConnectionsMBeangetConnectionById in interface SynchConnectionsMBeanpublic String[] activeConnectionInfo()
activeConnectionInfo in interface SynchConnectionsMBeanCopyright © 2018 Bedework. All rights reserved.