Package org.summerboot.jexpress.nio.grpc
Class GRPCClientConfig
java.lang.Object
org.summerboot.jexpress.boot.config.BootConfig
org.summerboot.jexpress.nio.grpc.GRPCClientConfig
- All Implemented Interfaces:
JExpressConfig
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GRPCClientConfigprotected io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilderprotected Listprotected static final Stringprotected KeyManagerFactoryprotected Stringprotected String[]protected TrustManagerFactoryprotected URIFields inherited from class org.summerboot.jexpress.boot.config.BootConfig
cfgFile, configName, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.grpc.netty.shaded.io.grpc.netty.NettyChannelBuildergetKmf()String[]getTmf()getUri()protected voidloadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) static voidvoidshutdown()Methods inherited from class org.summerboot.jexpress.boot.config.BootConfig
generateTemplate, getCfgFile, info, load, loadField, name, temp, updateConfigFile, updateFilePath
-
Field Details
-
CFG
-
ID
- See Also:
-
uri
-
sslProtocols
-
ciphers
-
kmf
@Memo(title="2. gRpc.client keystore") @Config(key="gRpc.client.ssl.KeyStore", StorePwdKey="gRpc.client.ssl.KeyStorePwd", AliasKey="gRpc.client.ssl.KeyAlias", AliasPwdKey="gRpc.client.ssl.KeyPwd", required=false) protected volatile KeyManagerFactory kmf -
tmf
@Memo(title="3. gRpc.client truststore") @Config(key="gRpc.client.ssl.TrustStore", StorePwdKey="gRpc.client.ssl.TrustStorePwd", required=false) protected volatile TrustManagerFactory tmf -
overrideAuthority
-
channelBuilder
protected volatile io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder channelBuilder
-
-
Constructor Details
-
GRPCClientConfig
protected GRPCClientConfig()
-
-
Method Details
-
main
-
loadCustomizedConfigs
protected void loadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) throws IOException - Specified by:
loadCustomizedConfigsin classBootConfig- Throws:
IOException
-
shutdown
public void shutdown() -
getUri
-
getSslProtocols
-
getCiphers
-
getKmf
-
getTmf
-
getOverrideAuthority
-
getChannelBuilder
public io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder getChannelBuilder()
-