com.oracle.coherence.client.config.RemoteGrpcCacheServiceBuilderProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coherence-java-client Show documentation
Show all versions of coherence-java-client Show documentation
Oracle Coherence Community Edition
/*
* 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;
}
}