public void single(final Class<?> clazz, final Object o) {
        SINGLES.put(clazz.getName(), o);
    }
Single.

@param clazz the clazz
@param o     the o
shenyu-common/src/main/java/org/apache/shenyu/common/utils/Singleton.java