Class SynchConnections

java.lang.Object
org.bedework.util.jmx.ConfBase
org.bedework.caldav.server.soap.synch.SynchConnections
All Implemented Interfaces:
SynchConnectionsMBean, org.bedework.util.jmx.BaseMBean, org.bedework.util.jmx.ConfBaseMBean, org.bedework.util.logging.Logged

public class SynchConnections extends org.bedework.util.jmx.ConfBase implements SynchConnectionsMBean
This is a simple bean to handle the dynamic connections made between the CalDAV server and synch engines. These connections are defined by no more than an id and token.

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?

Author:
douglm
  • Field Summary

    Fields inherited from class org.bedework.util.jmx.ConfBase

    cfg, statusDone, statusFailed, statusInterrupted, statusRunning, statusStopped, statusTimedout, statusUnknown

    Fields inherited from interface org.bedework.caldav.server.soap.synch.SynchConnectionsMBean

    configName, serviceName
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    getConnection(String callbackUrl)
    Find a connection
    Get a connection for outbound calls by id
     
    void
    Put/update a connection

    Methods inherited from class org.bedework.util.jmx.ConfBase

    createObjectName, ensureDir, getConfig, getConfigDirectory, getConfigInfo, getConfigInfo, getConfigInfo, getConfigName, getLogger, getManagementContext, getPathSuffix, getRegisteredMBeans, getServiceName, getServiceObjectName, getStatus, getStore, isRunning, loadConfig, makeObject, register, register, saveConfig, setStatus, setStore, start, stop, unregister, unregister

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bedework.util.jmx.BaseMBean

    getServiceName, isRunning, start, stop

    Methods inherited from interface org.bedework.util.jmx.ConfBaseMBean

    getConfigName, getStatus, saveConfig, setStatus

    Methods inherited from interface org.bedework.util.logging.Logged

    audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn