@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
WiseRuntimeException
protected WSDynamicClientImpl(WSDynamicClientBuilder builder, WSConsumer consumer) throws WiseRuntimeException
WiseRuntimeException
protected WSDynamicClientImpl(WSDynamicClientBuilder builder, WSConsumer consumer, org.milyn.Smooks smooks) throws WiseRuntimeException
WiseRuntimeException
protected void prepare(WSDynamicClientBuilder builder, WSConsumer consumer)
public Map<String,WSService> processServices() throws IllegalStateException
processServices
in interface WSDynamicClient
IllegalStateException
- 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 WSDynamicClient
ResourceNotAvailableException
- when the specified service, port or operation can not be
foundWSDynamicClient.getWSMethod(String,
String, String)
public final URLClassLoader getClassLoader()
getClassLoader
in interface WSDynamicClient
public final void setClassLoader(ClassLoader classLoader)
public List<Class<?>> getObjectFactories()
getObjectFactories
in interface WSDynamicClient
public EnablerDelegate getWSExtensionEnablerDelegate()
getWSExtensionEnablerDelegate
in interface WSDynamicClient
EnablerDelegate
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 WSDynamicClient
public void close()
close
in interface WSDynamicClient
public String getTmpDir()
Copyright © 2008–2014 JBoss.org. All rights reserved.