Class 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 
      Modifier and Type Field Description
      static String confuriPname  
      • Fields inherited from class org.bedework.util.jmx.ConfBase

        cfg, statusDone, statusFailed, statusInterrupted, statusRunning, statusStopped, statusTimedout, statusUnknown
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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
      • Methods inherited from class org.bedework.util.jmx.ConfBase

        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, unregister
      • 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, setConfigName, setStatus
      • Methods inherited from interface org.bedework.util.logging.Logged

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