private static ClassLoader[] getClassLoaders() {
        ClassLoader[] classLoaders = new ClassLoader[3];
        classLoaders[0] = AdminConsole.class.getClass().getClassLoader();
        classLoaders[1] = Thread.currentThread().getContextClassLoader();
        classLoaders[2] = ClassLoader.getSystemClassLoader();
        return classLoaders;
    }
Returns an array of class loaders to load resources from.

@return an array of class loaders to load resources from.
xmppserver/src/main/java/org/jivesoftware/admin/AdminConsole.java