All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.synerset.unitility.quarkus.ParsingRegistryProvider Maven / Gradle / Ivy

Go to download

The Java Physics Units of Measure Library - Unitility, Quarkus extension. This module integrates unitility-core and unitility-jackson. It provides a preconfigured Jackson module and JakartaParamProvider, enabling automatic serialization/deserialization for all supported physical quantity types. This configuration is automatically included through the Jandex index.

There is a newer version: 2.4.2
Show newest version
package com.synerset.unitility.quarkus;

import com.synerset.unitility.unitsystem.util.PhysicalQuantityParsingFactory;
import jakarta.enterprise.context.ApplicationScoped;

/**
 * The ParsingRegistryProvider class is a Quarkus CDI bean providing a default {@link PhysicalQuantityParsingFactory}
 * instance for dependency injection in Quarkus applications.
 */
class ParsingRegistryProvider {

    @ApplicationScoped
    @DefaultParsingFactory
    PhysicalQuantityParsingFactory createParsingFactory() {
        return PhysicalQuantityParsingFactory.getDefaultParsingFactory();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy