*
* @param docBaseName
*/
private void handleDocComponents(String docBaseName) {
loadDocuments();
IWebSocketConnectionRegistry reg = WebSocketSettings.Holder.get(Application.get()).getConnectionRegistry();
for (IWebSocketConnection c : reg.getConnections(Application.get())) {
try {
JSONArray jsonArray = new JSONArray();
for (String url : docMap.get(docBaseName)) {
jsonArray.put(url);
}