org.jboss.wise.core.client.impl.reflection
Class WSDynamicClientImpl
java.lang.Object
org.jboss.wise.core.client.impl.reflection.WSDynamicClientImpl
- All Implemented Interfaces:
- WSDynamicClient
@ThreadSafe
public class WSDynamicClientImpl
- extends java.lang.Object
- implements WSDynamicClient
This is the Wise core, i.e. the JAX-WS client that handles wsdl retrieval & parsing, invocations, etc.
- Since:
- Author:
- Stefano Maestri, stefano.maestri@javalinux.it
Method Summary |
java.net.URLClassLoader |
getClassLoader()
|
WSMethod |
getWSMethod(java.lang.String serviceName,
java.lang.String portName,
java.lang.String methodName)
It return directly the method to invoke the specified action on specified port of specified service. |
java.util.Map<java.lang.String,WSService> |
processServices()
Create the services' map and gives it back. |
void |
setClassLoader(java.net.URLClassLoader classLoader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDynamicClientImpl
public WSDynamicClientImpl(WSDynamicClientBuilder builder)
throws WiseConnectionException,
WiseRuntimeException,
MCKernelUnavailableException
- Throws:
WiseConnectionException
WiseRuntimeException
MCKernelUnavailableException
WSDynamicClientImpl
public WSDynamicClientImpl(WSDynamicClientBuilder builder,
WSConsumer consumer)
throws WiseConnectionException,
WiseRuntimeException
- Throws:
WiseConnectionException
WiseRuntimeException
processServices
public java.util.Map<java.lang.String,WSService> processServices()
- Create the services' map and gives it back.
- Specified by:
processServices
in interface WSDynamicClient
- Returns:
- The Map of WSEndpoint with symbolic names as keys
- See Also:
WSDynamicClient.processServices()
getWSMethod
public WSMethod getWSMethod(java.lang.String serviceName,
java.lang.String portName,
java.lang.String methodName)
- It return directly the method to invoke the specified action on specified port of specified service. It is the base method
for "one line of code invocation" (see "Wise-core Programmers guide" for more information)
- Specified by:
getWSMethod
in interface WSDynamicClient
- Returns:
- the WSMethod class to use for effective service invocation
- See Also:
WSDynamicClient.processServices()
getClassLoader
public final java.net.URLClassLoader getClassLoader()
- Specified by:
getClassLoader
in interface WSDynamicClient
- Returns:
- The classLoader used to load generated class.
setClassLoader
public final void setClassLoader(java.net.URLClassLoader classLoader)