@Singleton
public class CoherenceConfigurationClient
extends java.lang.Object
implements io.micronaut.discovery.config.ConfigurationClient
ConfigurationClient that works with Coherence as a config source.| Constructor and Description |
|---|
CoherenceConfigurationClient(io.micronaut.runtime.ApplicationConfiguration applicationConfiguration,
CoherenceClientConfiguration coherenceClientConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected io.grpc.Channel |
buildChannel(CoherenceClientConfiguration coherenceClientConfiguration)
Builds gRPC channel.
|
protected com.tangosol.net.Session |
buildSession(CoherenceClientConfiguration coherenceClientConfiguration)
Builds Coherence session.
|
protected java.util.Map<java.lang.Integer,java.lang.String> |
buildSourceNames(io.micronaut.runtime.ApplicationConfiguration applicationConfiguration,
io.micronaut.context.env.Environment environment)
Build a map of config source names.
|
java.lang.String |
getDescription() |
org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource> |
getPropertySources(io.micronaut.context.env.Environment environment) |
public CoherenceConfigurationClient(io.micronaut.runtime.ApplicationConfiguration applicationConfiguration,
CoherenceClientConfiguration coherenceClientConfiguration)
public org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource> getPropertySources(io.micronaut.context.env.Environment environment)
getPropertySources in interface io.micronaut.discovery.config.ConfigurationClientprotected java.util.Map<java.lang.Integer,java.lang.String> buildSourceNames(io.micronaut.runtime.ApplicationConfiguration applicationConfiguration,
io.micronaut.context.env.Environment environment)
applicationConfiguration - the application configurationenvironment - the current environmentprotected com.tangosol.net.Session buildSession(CoherenceClientConfiguration coherenceClientConfiguration)
coherenceClientConfiguration - configurationprotected io.grpc.Channel buildChannel(CoherenceClientConfiguration coherenceClientConfiguration)
coherenceClientConfiguration - configurationpublic java.lang.String getDescription()
getDescription in interface io.micronaut.core.naming.Described