@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 classWSDynamicClient
IllegalStateException
ConnectException
WiseRuntimeException
WSDynamicClientBuilder wsdlURL(String wsdlURL)
wsdlURL
- WSDynamicClient
WSDynamicClientBuilder userName(String userName)
userName
- WSDynamicClient
WSDynamicClientBuilder password(String password)
password
- WSDynamicClient
WSDynamicClientBuilder tmpDir(String tmpDir)
WSDynamicClient
and take care of all cleanup when
WSDynamicClient.close() is calledtmpDir
- WSDynamicClient
WSDynamicClientBuilder targetPackage(String targetPackage)
targetPackage
- WSDynamicClient
WSDynamicClientBuilder bindingFiles(List<File> bindings)
bindings
- WSDynamicClient
WSDynamicClientBuilder catalogFile(File catelog)
catelog
- WSDynamicClient
WSDynamicClientBuilder securityConfigUrl(String url)
url
- WSDynamicClient
WSDynamicClientBuilder securityConfigName(String name)
name
- WSDynamicClient
WSDynamicClientBuilder keepSource(boolean bool)
tmpDir(String)
bool
- WSDynamicClient
WSDynamicClientBuilder verbose(boolean bool)
messageStream(PrintStream)
bool
- WSDynamicClient
WSDynamicClientBuilder excludeNonSOAPPorts(boolean exclude)
bool
- WSDynamicClient
WSDynamicClientBuilder messageStream(PrintStream messageStream)
messageStream
- WSDynamicClient
WSDynamicClientBuilder maxThreadPoolSize(int maxThreadPoolSize)
WSMethod
on the build WSDynamicClient
. default value is
100.maxThreadPoolSize
- WSDynamicClient
String 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–2014 JBoss.org. All rights reserved.