private void startModules() {
        for (Module module : modules.values()) {
            try {
                logger.debug( "Starting module: " + module.getName() );
                module.start();
            }
            catch (Exception e) {
                logger.error( "An exception occurred while starting module '{}'.", module.getName(), e );
            }
        }
    }
<p>Following the loading and initialization of all the modules
this method is called to iterate through the known modules and
start them.</p>
xmppserver/src/main/java/org/jivesoftware/openfire/XMPPServer.java