|
JBoss Wise API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.wise.core.client.impl.reflection.builder.ReflectionBasedWSDynamicClientBuilder
@ThreadSafe public class ReflectionBasedWSDynamicClientBuilder
Constructor Summary | |
---|---|
ReflectionBasedWSDynamicClientBuilder()
|
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 catalogFile)
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 WSDynamicClientBuilder.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. |
void |
setBindingFiles(java.util.List<java.io.File> bindings)
|
void |
setCatelogFile(java.io.File catalog)
|
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 WSDynamicClientBuilder.messageStream(PrintStream) |
WSDynamicClientBuilder |
wsdlURL(java.lang.String wsdlURL)
Set the wsdlURL to generate WS client |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReflectionBasedWSDynamicClientBuilder()
Method Detail |
---|
public WSDynamicClient build() throws java.lang.IllegalStateException, WiseRuntimeException
WSDynamicClient
with all parameters set on this class
build
in interface WSDynamicClientBuilder
WSDynamicClient
java.lang.IllegalStateException
WiseRuntimeException
WSDynamicClientBuilder.build()
public final java.lang.String getWsdlURL()
getWsdlURL
in interface WSDynamicClientBuilder
WSDynamicClientBuilder.getWsdlURL()
public final WSDynamicClientBuilder wsdlURL(java.lang.String wsdlURL)
wsdlURL
in interface WSDynamicClientBuilder
WSDynamicClient
WSDynamicClientBuilder.wsdlURL(java.lang.String)
public final java.lang.String getUserName()
getUserName
in interface WSDynamicClientBuilder
WSDynamicClientBuilder.getUserName()
public WSDynamicClientBuilder userName(java.lang.String userName)
userName
in interface WSDynamicClientBuilder
WSDynamicClient
WSDynamicClientBuilder.userName(java.lang.String)
public final java.lang.String getPassword()
getPassword
in interface WSDynamicClientBuilder
WSDynamicClientBuilder.getPassword()
public WSDynamicClientBuilder password(java.lang.String password)
password
in interface WSDynamicClientBuilder
WSDynamicClient
WSDynamicClientBuilder.password(java.lang.String)
public final java.lang.String getTmpDir()
getTmpDir
in interface WSDynamicClientBuilder
WSDynamicClientBuilder.getTmpDir()
public final java.lang.String getTargetPackage()
getTargetPackage
in interface WSDynamicClientBuilder
WSDynamicClientBuilder.getTargetPackage()
public final java.util.List<java.io.File> getBindingFiles()
getBindingFiles
in interface WSDynamicClientBuilder
public final java.io.File getCatalogFile()
getCatalogFile
in interface WSDynamicClientBuilder
public final void setBindingFiles(java.util.List<java.io.File> bindings)
public final void setCatelogFile(java.io.File catalog)
public WSDynamicClientBuilder targetPackage(java.lang.String targetPackage)
targetPackage
in interface WSDynamicClientBuilder
WSDynamicClient
WSDynamicClientBuilder.targetPackage(java.lang.String)
public WSDynamicClientBuilder tmpDir(java.lang.String tmpDir)
WSDynamicClient
and take care of all cleanup when
WSDynamicClient.close() is called
tmpDir
in interface WSDynamicClientBuilder
WSDynamicClient
WSDynamicClientBuilder.tmpDir(java.lang.String)
public WSDynamicClientBuilder bindingFiles(java.util.List<java.io.File> bindings)
WSDynamicClientBuilder
bindingFiles
in interface WSDynamicClientBuilder
WSDynamicClient
public WSDynamicClientBuilder catalogFile(java.io.File catalogFile)
WSDynamicClientBuilder
catalogFile
in interface WSDynamicClientBuilder
WSDynamicClient
public java.lang.String getSecurityConfigFileURL()
getSecurityConfigFileURL
in interface WSDynamicClientBuilder
WSDynamicClientBuilder.getSecurityConfigFileURL()
public java.lang.String getSecurityConfigName()
getSecurityConfigName
in interface WSDynamicClientBuilder
WSDynamicClientBuilder.getSecurityConfigName()
public boolean isKeepSource()
isKeepSource
in interface WSDynamicClientBuilder
WSDynamicClientBuilder.isKeepSource()
public boolean isVerbose()
isVerbose
in interface WSDynamicClientBuilder
WSDynamicClientBuilder.isVerbose()
public WSDynamicClientBuilder keepSource(boolean bool)
WSDynamicClientBuilder.tmpDir(String)
keepSource
in interface WSDynamicClientBuilder
WSDynamicClient
WSDynamicClientBuilder.keepSource(boolean)
public WSDynamicClientBuilder securityConfigName(java.lang.String name)
securityConfigName
in interface WSDynamicClientBuilder
WSDynamicClient
WSDynamicClientBuilder.securityConfigName(java.lang.String)
public WSDynamicClientBuilder securityConfigUrl(java.lang.String url)
securityConfigUrl
in interface WSDynamicClientBuilder
WSDynamicClient
WSDynamicClientBuilder.securityConfigUrl(java.lang.String)
public WSDynamicClientBuilder verbose(boolean bool)
WSDynamicClientBuilder.messageStream(PrintStream)
verbose
in interface WSDynamicClientBuilder
WSDynamicClient
WSDynamicClientBuilder.verbose(boolean)
public java.lang.String getNormalizedWsdlUrl()
getNormalizedWsdlUrl
in interface WSDynamicClientBuilder
public java.lang.String getClientSpecificTmpDir()
getClientSpecificTmpDir
in interface WSDynamicClientBuilder
public java.io.PrintStream getMessageStream()
getMessageStream
in interface WSDynamicClientBuilder
public WSDynamicClientBuilder messageStream(java.io.PrintStream messageStream)
WSDynamicClientBuilder
messageStream
in interface WSDynamicClientBuilder
WSDynamicClient
public int getMaxThreadPoolSize()
getMaxThreadPoolSize
in interface WSDynamicClientBuilder
WSDynamicClientBuilder.getMaxThreadPoolSize()
public WSDynamicClientBuilder maxThreadPoolSize(int maxThreadPoolSize)
WSMethod
on the build WSDynamicClient
. default value is
100.
maxThreadPoolSize
in interface WSDynamicClientBuilder
WSDynamicClient
WSDynamicClientBuilder.maxThreadPoolSize(int)
|
JBoss Wise API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |