Interface SynchConnectionsMBean

All Superinterfaces:
org.bedework.util.jmx.BaseMBean, org.bedework.util.jmx.ConfBaseMBean
All Known Implementing Classes:
SynchConnections

public interface SynchConnectionsMBean
extends org.bedework.util.jmx.ConfBaseMBean
Handle the dynamic connections made between bedework and synch engines.
Author:
douglm
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String configName  
    static java.lang.String serviceName  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String[] activeConnectionInfo()  
    SynchConnection getConnection​(java.lang.String callbackUrl)
    Find a connection
    SynchConnection getConnectionById​(java.lang.String id)
    Get a connection for outbound calls by id
    void setConnection​(SynchConnection val)
    Put/update a connection

    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
  • Field Details

  • Method Details

    • setConnection

      void setConnection​(SynchConnection val)
      Put/update a connection
      Parameters:
      val -
    • getConnection

      SynchConnection getConnection​(java.lang.String callbackUrl)
      Find a connection
      Parameters:
      callbackUrl -
      Returns:
      a connection or null
    • getConnectionById

      SynchConnection getConnectionById​(java.lang.String id)
      Get a connection for outbound calls by id
      Parameters:
      id -
      Returns:
      a connection or null
    • activeConnectionInfo

      java.lang.String[] activeConnectionInfo()
      Returns:
      list of connections