private void loadServices() {
        Log.debug("Loading all MUC services from the database.");
        Connection con = null;
        PreparedStatement pstmt = null;
        ResultSet rs = null;
        try {
            con = DbConnectionManager.getConnection();
            pstmt = con.prepareStatement(LOAD_SERVICES);
            rs = pstmt.executeQuery();
            while (rs.next()) {
                String subdomain = rs.getString(1);
                String description = rs.getString(2);
                Boolean isHidden = Boolean.valueOf(rs.getString(3));
                final MultiUserChatServiceImpl muc = new MultiUserChatServiceImpl(subdomain, description, isHidden);

                Log.trace("... loaded '{}' MUC service from the database.", subdomain);
                mucServices.put(subdomain, muc);
            }
        }
        catch (Exception e) {
            Log.error("An unexpected exception occurred while trying to load all MUC services from the database.", e);
        }
        finally {
            DbConnectionManager.closeConnection(rs, pstmt, con);
        }
    }
Loads the list of configured services stored in the database.

This call will add the services to memory on the local cluster node, but will not propagate them to other nodes
in the cluster.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MultiUserChatManager.java