// Dynamically load a utility class declared under META-INF/utilities
try {
ServiceDeclaration utilityDeclaration =ServiceDiscovery.getInstance().getFirstServiceDeclaration(utilityType.getName());
if (utilityDeclaration != null) {
Class<?> utilityClass = utilityDeclaration.loadClass();
// Construct the utility
Constructor<?>[] constructors = utilityClass.getConstructors();
Constructor<?> constructor = getConstructor(constructors, new Class<?>[] {ExtensionPointRegistry.class});
if (constructor != null) {