public abstract class ClientConfigUtil
extends java.lang.Object
| Constructor and Description |
|---|
ClientConfigUtil() |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.ClassLoader |
getContextClassLoader() |
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(javax.xml.ws.BindingProvider bp,
java.lang.String configFile,
java.lang.String configName)
Reads a client configuration and setups the handlers in the provided BindingProvider accordingly.
|
static void |
setConfigProperties(java.lang.Object proxy,
java.lang.String configFile,
java.lang.String configName)
Reads a client configuration and setups the properties in the provided proxy accordingly.
|
public static void setConfigHandlers(javax.xml.ws.BindingProvider bp,
java.lang.String configFile,
java.lang.String configName)
bp - The BindingProvider instance to setupconfigFile - The configuration fileconfigName - The configuration namepublic static void setConfigProperties(java.lang.Object proxy,
java.lang.String configFile,
java.lang.String configName)
proxy - The client proxy (port) instance to setupconfigFile - The configuration fileconfigName - The configuration namepublic static ClientConfigurer resolveClientConfigurer()
private static java.lang.ClassLoader getContextClassLoader()