Package org.jboss.ws.api.configuration
Class ClientConfigFeature
- java.lang.Object
-
- jakarta.xml.ws.WebServiceFeature
-
- org.jboss.ws.api.configuration.AbstractClientFeature
-
- org.jboss.ws.api.configuration.ClientConfigFeature
-
public final class ClientConfigFeature extends AbstractClientFeature
A JBoss client JAXWS feature that setup a JBossWS predefined client config- Author:
- Alessio Soldano
-
-
Constructor Summary
Constructors Constructor Description ClientConfigFeature()ClientConfigFeature(String configFile, String configName)Creates a feature for initializing the JAXWS client using the specified predefined configuration.ClientConfigFeature(String configFile, String configName, boolean configureProperties)Creates a feature for initializing the JAXWS client using the specified predefined configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConfigFile()StringgetConfigName()voidinitialize(Object obj)Initializes the provided JAXWS client component; this is called by the the JBossWS impl of JAXWS Provider.protected voidinitializeBindingProvider(jakarta.xml.ws.BindingProvider bp)Initializes the provided BindingProvider instancebooleanisConfigureProperties()voidsetConfigFile(String configFile)voidsetConfigName(String configName)voidsetConfigureProperties(boolean configureProperties)-
Methods inherited from class org.jboss.ws.api.configuration.AbstractClientFeature
getID
-
-
-
-
Constructor Detail
-
ClientConfigFeature
public ClientConfigFeature()
-
ClientConfigFeature
public ClientConfigFeature(String configFile, String configName)
Creates a feature for initializing the JAXWS client using the specified predefined configuration.- Parameters:
configFile- The config file to read the config from; null if the config is meant to be read from the AS model.configName- The config name to read.
-
ClientConfigFeature
public ClientConfigFeature(String configFile, String configName, boolean configureProperties)
Creates a feature for initializing the JAXWS client using the specified predefined configuration.- Parameters:
configFile- The config file to read the config from; null if the config is meant to be read from the AS model.configName- The config name to read.configureProperties- Whether or not to set properties from the specified config (default false)
-
-
Method Detail
-
initialize
public void initialize(Object obj)
Description copied from class:AbstractClientFeatureInitializes the provided JAXWS client component; this is called by the the JBossWS impl of JAXWS Provider.- Overrides:
initializein classAbstractClientFeature- Parameters:
obj- client component
-
initializeBindingProvider
protected void initializeBindingProvider(jakarta.xml.ws.BindingProvider bp)
Description copied from class:AbstractClientFeatureInitializes the provided BindingProvider instance- Overrides:
initializeBindingProviderin classAbstractClientFeature- Parameters:
bp- binding provider
-
getConfigFile
public String getConfigFile()
-
setConfigFile
public void setConfigFile(String configFile)
-
getConfigName
public String getConfigName()
-
setConfigName
public void setConfigName(String configName)
-
isConfigureProperties
public boolean isConfigureProperties()
-
setConfigureProperties
public void setConfigureProperties(boolean configureProperties)
-
-