class DefaultAtlasContextFactory implements AtlasContextFactory, AtlasContextFactoryMXBean {

    protected String getModuleName(Class<?> clazz) {

        AtlasModuleDetail detail = clazz.getAnnotation(AtlasModuleDetail.class);

        if (detail != null) {
            return detail.name();
        }

        return "UNDEFINED-" + UUID.randomUUID().toString();
    }

    private  DefaultAtlasContextFactory();

}