@ThreadSafe public class WSDynamicClientImpl extends Object implements WSDynamicClient
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxThreadPoolSize |
protected String |
password |
protected String |
userName |
| Modifier | Constructor and Description |
|---|---|
|
WSDynamicClientImpl(WSDynamicClientBuilder builder) |
protected |
WSDynamicClientImpl(WSDynamicClientBuilder builder,
WSConsumer consumer) |
protected |
WSDynamicClientImpl(WSDynamicClientBuilder builder,
WSConsumer consumer,
org.milyn.Smooks smooks) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected WSService |
createService(Class<?> clazz) |
URLClassLoader |
getClassLoader() |
List<Class<?>> |
getObjectFactories() |
org.milyn.Smooks |
getSmooksInstance() |
String |
getTmpDir() |
EnablerDelegate |
getWSExtensionEnablerDelegate() |
WSMethod |
getWSMethod(String serviceName,
String portName,
String operationName)
It return directly the method to invoke the specified action on specified
port of specified service.
|
protected void |
prepare(WSDynamicClientBuilder builder,
WSConsumer consumer) |
Map<String,WSService> |
processServices()
Create the services' map and gives it back.
|
void |
setClassLoader(ClassLoader classLoader) |
protected final String userName
protected final String password
protected final int maxThreadPoolSize
public WSDynamicClientImpl(WSDynamicClientBuilder builder) throws WiseRuntimeException
WiseRuntimeExceptionprotected WSDynamicClientImpl(WSDynamicClientBuilder builder, WSConsumer consumer) throws WiseRuntimeException
WiseRuntimeExceptionprotected WSDynamicClientImpl(WSDynamicClientBuilder builder, WSConsumer consumer, org.milyn.Smooks smooks) throws WiseRuntimeException
WiseRuntimeExceptionprotected void prepare(WSDynamicClientBuilder builder, WSConsumer consumer)
public Map<String,WSService> processServices() throws IllegalStateException
processServices in interface WSDynamicClientIllegalStateException - thrown if method can't process or load generated classes to
find a serviceWSDynamicClient.processServices()protected WSService createService(Class<?> clazz) throws InstantiationException, IllegalAccessException
public WSMethod getWSMethod(String serviceName, String portName, String operationName) throws ResourceNotAvailableException
getWSMethod in interface WSDynamicClientserviceName - StringportName - StringoperationName - StringResourceNotAvailableException - when the specified service, port or operation can not be
foundWSDynamicClient.getWSMethod(String,
String, String)public final URLClassLoader getClassLoader()
getClassLoader in interface WSDynamicClientpublic final void setClassLoader(ClassLoader classLoader)
public List<Class<?>> getObjectFactories()
getObjectFactories in interface WSDynamicClientpublic EnablerDelegate getWSExtensionEnablerDelegate()
getWSExtensionEnablerDelegate in interface WSDynamicClientEnablerDelegate used to enable the WS-* for all
endpoint attached all serivices attached to this
WSDynamicClient.WSDynamicClient.getWSExtensionEnablerDelegate()public org.milyn.Smooks getSmooksInstance()
getSmooksInstance in interface WSDynamicClientpublic void close()
close in interface WSDynamicClientpublic String getTmpDir()
Copyright © 2008–2016 JBoss.org. All rights reserved.