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

com.oracle.coherence.client.config.RemoteGrpcCacheServiceBuilderProcessor Maven / Gradle / Ivy

There is a newer version: 24.09
Show newest version
/*
 * Copyright (c) 2000, 2023, Oracle and/or its affiliates.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * https://oss.oracle.com/licenses/upl.
 */
package com.oracle.coherence.client.config;

import com.tangosol.coherence.config.xml.processor.ServiceBuilderProcessor;
import com.tangosol.config.ConfigurationException;
import com.tangosol.config.xml.ProcessingContext;
import com.tangosol.run.xml.XmlElement;

/**
 * A {@link ServiceBuilderProcessor} that builds a {@link GrpcCacheScheme}.
 *
 * @author Jonathan Knight  2022.08.25
 * @since 23.03
 */
public class RemoteGrpcCacheServiceBuilderProcessor
        extends ServiceBuilderProcessor
    {
    public RemoteGrpcCacheServiceBuilderProcessor()
        {
        super(GrpcCacheScheme.class);
        }

    @Override
    public GrpcCacheScheme process(ProcessingContext context, XmlElement element) throws ConfigurationException
        {
        GrpcCacheScheme scheme = super.process(context, element);
        context.inject(scheme.getServiceDependencies(), element);
        return scheme;
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy