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.StringconfigNamestatic java.lang.StringserviceName -
Method Summary
Modifier and Type Method Description java.lang.String[]activeConnectionInfo()SynchConnectiongetConnection(java.lang.String callbackUrl)Find a connectionSynchConnectiongetConnectionById(java.lang.String id)Get a connection for outbound calls by idvoidsetConnection(SynchConnection val)Put/update a connectionMethods inherited from interface org.bedework.util.jmx.BaseMBean
getServiceName, isRunning, start, stopMethods inherited from interface org.bedework.util.jmx.ConfBaseMBean
getConfigName, getStatus, saveConfig, setConfigName, setStatus
-
Field Details
-
configName
static final java.lang.String configName- See Also:
- Constant Field Values
-
serviceName
static final java.lang.String serviceName- See Also:
- Constant Field Values
-
-
Method Details
-
setConnection
Put/update a connection- Parameters:
val-
-
getConnection
Find a connection- Parameters:
callbackUrl-- Returns:
- a connection or null
-
getConnectionById
Get a connection for outbound calls by id- Parameters:
id-- Returns:
- a connection or null
-
activeConnectionInfo
java.lang.String[] activeConnectionInfo()- Returns:
- list of connections
-