aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/moazs/client
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-10-30 16:06:12 +0100
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-10-30 16:06:12 +0100
commitc7551ed1dbf25fd786500a1516ddec9ec12dcf84 (patch)
tree8546071ba6b009247ec5d9a2098285602647e659 /src/main/java/at/gv/egiz/moazs/client
parentfca03ea334be5eb34e919a5cc7ca8bc25d79a564 (diff)
downloadmoa-zs-c7551ed1dbf25fd786500a1516ddec9ec12dcf84.tar.gz
moa-zs-c7551ed1dbf25fd786500a1516ddec9ec12dcf84.tar.bz2
moa-zs-c7551ed1dbf25fd786500a1516ddec9ec12dcf84.zip
Refactor: Rename ClientFactory.create Interface
- Reason: Consistency
Diffstat (limited to 'src/main/java/at/gv/egiz/moazs/client')
-rw-r--r--src/main/java/at/gv/egiz/moazs/client/ClientFactory.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/client/ClientFactory.java b/src/main/java/at/gv/egiz/moazs/client/ClientFactory.java
index a14e693..c294aa3 100644
--- a/src/main/java/at/gv/egiz/moazs/client/ClientFactory.java
+++ b/src/main/java/at/gv/egiz/moazs/client/ClientFactory.java
@@ -84,8 +84,8 @@ public class ClientFactory {
* @param params for the client, such as service url and ssl parameters.
* @return the client
*/
- public <T> T create(ClientType params, Class<T> clazz) {
- return create(params, clazz, true);
+ public <T> T createSOAP12(ClientType params, Class<T> clazz) {
+ return createSOAPClient(params, clazz, true);
}
/**
@@ -94,12 +94,12 @@ public class ClientFactory {
* @param params for the client, such as service url and ssl parameters.
* @return the client
*/
- public <T> T createSoap11(ClientType params, Class<T> clazz) {
- return create(params, clazz, false);
+ public <T> T createSOAP11(ClientType params, Class<T> clazz) {
+ return createSOAPClient(params, clazz, false);
}
- private <T> T create(ClientType params, Class<T> clazz, boolean isSoap12) {
+ private <T> T createSOAPClient(ClientType params, Class<T> clazz, boolean isSoap12) {
log.info("Create client for service {}", params.getURL());