@Override
    public void start() {
        super.start();

        loadServices();

        for (MultiUserChatService service : mucServices.values()) {
            registerMultiUserChatService(service, false);
        }

        // Add statistics
        addTotalRoomStats();
        addTotalOccupantsStats();
        addTotalConnectedUsers();
        addNumberIncomingMessages();
        addNumberOutgoingMessages();

        UserEventDispatcher.addListener(this);
        MUCServicePropertyEventDispatcher.addListener(this);
    }
Called when manager starts up, to initialize things.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MultiUserChatManager.java