org.jboss.wise.core.client.factories
Class WSDynamicClientFactory
java.lang.Object
org.jboss.wise.core.client.factories.WSDynamicClientFactory
@ThreadSafe
public abstract class WSDynamicClientFactory
- extends java.lang.Object
- Author:
- Stefano Maestri, stefano.maestri@javalinux.it
Method Summary |
static RSDynamicClient |
getJAXRSClient(java.lang.String endpointURL,
RSDynamicClient.HttpMethod httpMethod,
java.lang.String produceMediaTypes,
java.lang.String consumeMediaTypes)
Return an instance of RSDynamicClient taken from cache if possible,
generate and initialise if not. |
static RSDynamicClient |
getJAXRSClient(java.lang.String endpointURL,
RSDynamicClient.HttpMethod httpMethod,
java.lang.String produceMediaTypes,
java.lang.String consumeMediaTypes,
java.lang.String userName,
java.lang.String password)
Return an instance of RSDynamicClient taken from cache if possible,
generate and initialise if not. |
static WSDynamicClientBuilder |
getJAXWSClientBuilder()
|
static void |
initLog4j(java.lang.String configFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDynamicClientFactory
public WSDynamicClientFactory()
initLog4j
public static void initLog4j(java.lang.String configFile)
getJAXWSClientBuilder
public static WSDynamicClientBuilder getJAXWSClientBuilder()
getJAXRSClient
public static RSDynamicClient getJAXRSClient(java.lang.String endpointURL,
RSDynamicClient.HttpMethod httpMethod,
java.lang.String produceMediaTypes,
java.lang.String consumeMediaTypes,
java.lang.String userName,
java.lang.String password)
- Return an instance of RSDynamicClient taken from cache if possible,
generate and initialise if not.
- Parameters:
endpointURL
- produceMediaTypes
- consumeMediaTypes
- httpMethod
- userName
- password
-
- Returns:
- an instance of
RSDynamicClient
already initialized, ready
to be called
getJAXRSClient
public static RSDynamicClient getJAXRSClient(java.lang.String endpointURL,
RSDynamicClient.HttpMethod httpMethod,
java.lang.String produceMediaTypes,
java.lang.String consumeMediaTypes)
- Return an instance of RSDynamicClient taken from cache if possible,
generate and initialise if not.
- Parameters:
endpointURL
- produceMediaTypes
- consumeMediaTypes
- httpMethod
-
- Returns:
- an instance of
RSDynamicClient
already initialized, ready
to be called
Copyright © 2008-2009 Jboss.org. All Rights Reserved.