@ThreadSafe
public interface WSDynamicClientBuilder
WSDynamicClientBuilder is an interface to define builder for various
kind of implementation of WiseDynamicClient Indirect build permit to easy
inject different implementation of WSDynamicClient.| Modifier and Type | Method and Description |
|---|---|
WSDynamicClientBuilder |
bindingFiles(List<File> bindings)
set the list of JAXB bindings files used by wsconsume
|
WSDynamicClient |
build()
Build the
WSDynamicClient with all parameters set on this class |
WSDynamicClientBuilder |
catalogFile(File catelog)
set the catelog file
|
WSDynamicClientBuilder |
excludeNonSOAPPorts(boolean exclude)
if it set to true non-SOAP wsdl ports will be excluded
|
List<File> |
getBindingFiles() |
File |
getCatalogFile() |
String |
getClientSpecificTmpDir() |
int |
getMaxThreadPoolSize() |
PrintStream |
getMessageStream() |
String |
getNormalizedWsdlUrl() |
String |
getPassword() |
String |
getSecurityConfigFileURL() |
String |
getSecurityConfigName() |
String |
getTargetPackage() |
String |
getTmpDir() |
String |
getUserName() |
String |
getWsdlURL() |
boolean |
isExcludeNonSOAPPorts() |
boolean |
isKeepSource() |
boolean |
isVerbose() |
WSDynamicClientBuilder |
keepSource(boolean bool)
if it it set to true source code generated for client classes will be
kept in
tmpDir(String) |
WSDynamicClientBuilder |
maxThreadPoolSize(int maxThreadPoolSize)
Set the max size of thread pool used to invoke in parallel
WSMethod on the build WSDynamicClient. |
WSDynamicClientBuilder |
messageStream(PrintStream messageStream)
Sets the PrintStream to use for status feedback.
|
WSDynamicClientBuilder |
password(String password)
set the password used in Basic Auth both for downloading wsdl and calling
service
|
WSDynamicClientBuilder |
securityConfigName(String name)
It is the config name sed by JbossWS to enable WS-SE.
|
WSDynamicClientBuilder |
securityConfigUrl(String url)
It is the URL of config file used by JbossWS to enable WS-SE.
|
WSDynamicClientBuilder |
targetPackage(String targetPackage)
force the package name used for generated client classes.
|
WSDynamicClientBuilder |
tmpDir(String tmpDir)
set the temp direcoory location used to generate temporary client
classes.
|
WSDynamicClientBuilder |
userName(String userName)
set the userName used in Basic Auth both for downloading wsdl and calling
service
|
WSDynamicClientBuilder |
verbose(boolean bool)
if it set to true wsconsume operation of class generation and compilation
will be verbose and its messages will be put on
messageStream(PrintStream) |
WSDynamicClientBuilder |
wsdlURL(String wsdlURL)
Set the wsdlURL to generate WS client
|
WSDynamicClient build() throws IllegalStateException, ConnectException, WiseRuntimeException
WSDynamicClient with all parameters set on this classWSDynamicClientIllegalStateException - ExceptionConnectException - ExceptionWiseRuntimeException - ExceptionWSDynamicClientBuilder wsdlURL(String wsdlURL)
wsdlURL - StringWSDynamicClientWSDynamicClientBuilder userName(String userName)
userName - StringWSDynamicClientWSDynamicClientBuilder password(String password)
password - StringWSDynamicClientWSDynamicClientBuilder tmpDir(String tmpDir)
WSDynamicClient and take care of all cleanup when
WSDynamicClient.close() is calledtmpDir - StringWSDynamicClientWSDynamicClientBuilder targetPackage(String targetPackage)
targetPackage - StringWSDynamicClientWSDynamicClientBuilder bindingFiles(List<File> bindings)
bindings - List of FilesWSDynamicClientWSDynamicClientBuilder catalogFile(File catelog)
catelog - FileWSDynamicClientWSDynamicClientBuilder securityConfigUrl(String url)
url - StringWSDynamicClientWSDynamicClientBuilder securityConfigName(String name)
name - StringWSDynamicClientWSDynamicClientBuilder keepSource(boolean bool)
tmpDir(String)bool - booleanWSDynamicClientWSDynamicClientBuilder verbose(boolean bool)
messageStream(PrintStream)bool - booleanWSDynamicClientWSDynamicClientBuilder excludeNonSOAPPorts(boolean exclude)
exclude - booleanWSDynamicClientWSDynamicClientBuilder messageStream(PrintStream messageStream)
messageStream - PrintStreamWSDynamicClientWSDynamicClientBuilder maxThreadPoolSize(int maxThreadPoolSize)
WSMethod on the build WSDynamicClient. default value is
100.maxThreadPoolSize - intWSDynamicClientString getWsdlURL()
String getUserName()
String getPassword()
String getTmpDir()
String getTargetPackage()
File getCatalogFile()
String getSecurityConfigFileURL()
String getSecurityConfigName()
boolean isKeepSource()
boolean isVerbose()
boolean isExcludeNonSOAPPorts()
PrintStream getMessageStream()
String getNormalizedWsdlUrl()
String getClientSpecificTmpDir()
int getMaxThreadPoolSize()
Copyright © 2008–2016 JBoss.org. All rights reserved.