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 -
Method Summary
Modifier and TypeMethodDescriptionString[]getConnection(String callbackUrl) Find a connectionGet a connection for outbound calls by idvoidPut/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, setStatus
-
Field Details
-
configName
- See Also:
-
serviceName
- See Also:
-
-
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
String[] activeConnectionInfo()- Returns:
- list of connections
-