|
JBoss Wise API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@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
.
Method Summary | |
---|---|
WSDynamicClientBuilder |
bindingFiles(java.util.List<java.io.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(java.io.File catelog)
set the catelog file |
java.util.List<java.io.File> |
getBindingFiles()
|
java.io.File |
getCatalogFile()
|
java.lang.String |
getClientSpecificTmpDir()
|
int |
getMaxThreadPoolSize()
|
java.io.PrintStream |
getMessageStream()
|
java.lang.String |
getNormalizedWsdlUrl()
|
java.lang.String |
getPassword()
|
java.lang.String |
getSecurityConfigFileURL()
|
java.lang.String |
getSecurityConfigName()
|
java.lang.String |
getTargetPackage()
|
java.lang.String |
getTmpDir()
|
java.lang.String |
getUserName()
|
java.lang.String |
getWsdlURL()
|
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(java.io.PrintStream messageStream)
Sets the PrintStream to use for status feedback. |
WSDynamicClientBuilder |
password(java.lang.String password)
set the password used in Basic Auth both for downloading wsdl and calling service |
WSDynamicClientBuilder |
securityConfigName(java.lang.String name)
It is the config name sed by JbossWS to enable WS-SE. |
WSDynamicClientBuilder |
securityConfigUrl(java.lang.String url)
It is the URL of config file used by JbossWS to enable WS-SE. |
WSDynamicClientBuilder |
targetPackage(java.lang.String targetPackage)
force the package name used for generated client classes. |
WSDynamicClientBuilder |
tmpDir(java.lang.String tmpDir)
set the temp direcoory location used to generate temporary client classes. |
WSDynamicClientBuilder |
userName(java.lang.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(java.lang.String wsdlURL)
Set the wsdlURL to generate WS client |
Method Detail |
---|
WSDynamicClient build() throws java.lang.IllegalStateException, java.net.ConnectException, WiseRuntimeException
WSDynamicClient
with all parameters set on this class
WSDynamicClient
java.lang.IllegalStateException
java.net.ConnectException
WiseRuntimeException
WSDynamicClientBuilder wsdlURL(java.lang.String wsdlURL)
wsdlURL
-
WSDynamicClient
WSDynamicClientBuilder userName(java.lang.String userName)
userName
-
WSDynamicClient
WSDynamicClientBuilder password(java.lang.String password)
password
-
WSDynamicClient
WSDynamicClientBuilder tmpDir(java.lang.String tmpDir)
WSDynamicClient
and take care of all cleanup when
WSDynamicClient.close() is called
tmpDir
-
WSDynamicClient
WSDynamicClientBuilder targetPackage(java.lang.String targetPackage)
targetPackage
-
WSDynamicClient
WSDynamicClientBuilder bindingFiles(java.util.List<java.io.File> bindings)
bindings
-
WSDynamicClient
WSDynamicClientBuilder catalogFile(java.io.File catelog)
catelog
-
WSDynamicClient
WSDynamicClientBuilder securityConfigUrl(java.lang.String url)
url
-
WSDynamicClient
WSDynamicClientBuilder securityConfigName(java.lang.String name)
name
-
WSDynamicClient
WSDynamicClientBuilder keepSource(boolean bool)
tmpDir(String)
bool
-
WSDynamicClient
WSDynamicClientBuilder verbose(boolean bool)
messageStream(PrintStream)
bool
-
WSDynamicClient
WSDynamicClientBuilder messageStream(java.io.PrintStream messageStream)
messageStream
-
WSDynamicClient
WSDynamicClientBuilder maxThreadPoolSize(int maxThreadPoolSize)
WSMethod
on the build WSDynamicClient
. default value is
100.
maxThreadPoolSize
-
WSDynamicClient
java.lang.String getWsdlURL()
java.lang.String getUserName()
java.lang.String getPassword()
java.lang.String getTmpDir()
java.lang.String getTargetPackage()
java.util.List<java.io.File> getBindingFiles()
java.io.File getCatalogFile()
java.lang.String getSecurityConfigFileURL()
java.lang.String getSecurityConfigName()
boolean isKeepSource()
boolean isVerbose()
java.io.PrintStream getMessageStream()
java.lang.String getNormalizedWsdlUrl()
java.lang.String getClientSpecificTmpDir()
int getMaxThreadPoolSize()
|
JBoss Wise API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |