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
A JBoss client JAXWS feature that setup a JBossWS predefined client config
- Author:
- Alessio Soldano
-
Field Summary
Fields inherited from class jakarta.xml.ws.WebServiceFeature
enabled -
Constructor Summary
ConstructorsConstructorDescriptionClientConfigFeature(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
Modifier and TypeMethodDescriptionvoidinitialize(Object obj) Initializes the provided JAXWS client component; this is called by the the JBossWS impl of JAXWS Provider.protected voidInitializes the provided BindingProvider instancebooleanvoidsetConfigFile(String configFile) voidsetConfigName(String configName) voidsetConfigureProperties(boolean configureProperties) Methods inherited from class org.jboss.ws.api.configuration.AbstractClientFeature
getIDMethods inherited from class jakarta.xml.ws.WebServiceFeature
isEnabled
-
Constructor Details
-
ClientConfigFeature
public ClientConfigFeature() -
ClientConfigFeature
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
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 Details
-
initialize
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
Description copied from class:AbstractClientFeatureInitializes the provided BindingProvider instance- Overrides:
initializeBindingProviderin classAbstractClientFeature- Parameters:
bp- binding provider
-
getConfigFile
-
setConfigFile
-
getConfigName
-
setConfigName
-
isConfigureProperties
public boolean isConfigureProperties() -
setConfigureProperties
public void setConfigureProperties(boolean configureProperties)
-