private function createJsonApiAdapter($configName, ContainerBuilder $container)
    {
        // Serializer
        $serializerName = Utility::getAliasedName('api.serializer');
        $definition = new Definition(
            Utility::getLibraryClass('Api\JsonApiOrg\Serializer')
        );
        $definition->setPublic(false);
        $container->setDefinition($serializerName, $definition);

        // Normalizer
        $normalizerName = Utility::getAliasedName('api.normalizer');
        $definition = new Definition(
            Utility::getLibraryClass('Api\JsonApiOrg\Normalizer')
        );
        $definition->setPublic(false);
        $container->setDefinition($normalizerName, $definition);

        // Adapter
        $definition = new Definition(
            Utility::getLibraryClass('Api\JsonApiOrg\Adapter'),
            [
                new Reference($serializerName),
                new Reference($normalizerName),
                new Reference(Utility::getAliasedName('store')),
                new Reference($configName),
            ]
        );
        $definition->setPublic(true);
        return $definition;
    }