static PersistentResourceXMLDescription getCustomComponentParser(String componentType) { return PersistentResourceXMLDescription.builder(PathElement.pathElement(componentType)) .setUseElementsForGroups(false) .addAttribute(ClassLoadingAttributeDefinitions.MODULE) .addAttribute(ClassLoadingAttributeDefinitions.CLASS_NAME) .addAttribute(CustomComponentDefinition.CONFIGURATION) .build(); }