@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 classWSDynamicClientIllegalStateExceptionConnectExceptionWiseRuntimeExceptionWSDynamicClientBuilder wsdlURL(String wsdlURL)
wsdlURL - WSDynamicClientWSDynamicClientBuilder userName(String userName)
userName - WSDynamicClientWSDynamicClientBuilder password(String password)
password - WSDynamicClientWSDynamicClientBuilder tmpDir(String tmpDir)
WSDynamicClient and take care of all cleanup when
WSDynamicClient.close() is calledtmpDir - WSDynamicClientWSDynamicClientBuilder targetPackage(String targetPackage)
targetPackage - WSDynamicClientWSDynamicClientBuilder bindingFiles(List<File> bindings)
bindings - WSDynamicClientWSDynamicClientBuilder catalogFile(File catelog)
catelog - WSDynamicClientWSDynamicClientBuilder securityConfigUrl(String url)
url - WSDynamicClientWSDynamicClientBuilder securityConfigName(String name)
name - WSDynamicClientWSDynamicClientBuilder keepSource(boolean bool)
tmpDir(String)bool - WSDynamicClientWSDynamicClientBuilder verbose(boolean bool)
messageStream(PrintStream)bool - WSDynamicClientWSDynamicClientBuilder excludeNonSOAPPorts(boolean exclude)
bool - WSDynamicClientWSDynamicClientBuilder messageStream(PrintStream messageStream)
messageStream - WSDynamicClientWSDynamicClientBuilder maxThreadPoolSize(int maxThreadPoolSize)
WSMethod on the build WSDynamicClient. default value is
100.maxThreadPoolSize - WSDynamicClientString 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.