private static void initProvider(final Class<? extends AdminProvider> clazz) {
        if (provider == null || !clazz.equals(provider.getClass())) {
            try {
                provider = clazz.newInstance();
            }
            catch (Exception e) {
                Log.error("Error loading admin provider: " + clazz.getName(), e);
                provider = new DefaultAdminProvider();
            }
        }
    }
Constructs a AdminManager, property listener, and setting up the provider.
xmppserver/src/main/java/org/jivesoftware/openfire/admin/AdminManager.java