public abstract class ClientConfigUtil extends Object
Constructor and Description |
---|
ClientConfigUtil() |
Modifier and Type | Method and Description |
---|---|
static ClientConfigurer |
resolveClientConfigurer()
Resolves a ClientConfigurer instance by first using the current thread context classloader and
failing that by using the defining classloader.
|
static void |
setConfigHandlers(BindingProvider bp,
String configFile,
String configName)
Reads a client configuration and setups the handlers in the provided BindingProvider accordingly.
|
static void |
setConfigProperties(Object proxy,
String configFile,
String configName)
Reads a client configuration and setups the properties in the provided proxy accordingly.
|
public static void setConfigHandlers(BindingProvider bp, String configFile, String configName)
bp
- The BindingProvider instance to setupconfigFile
- The configuration fileconfigName
- The configuration namepublic static void setConfigProperties(Object proxy, String configFile, String configName)
proxy
- The client proxy (port) instance to setupconfigFile
- The configuration fileconfigName
- The configuration namepublic static ClientConfigurer resolveClientConfigurer()
Copyright © 2018 JBoss by Red Hat. All rights reserved.