* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights
* reserved.
+ * Modifications Copyright © 2018 IBM.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
import org.slf4j.LoggerFactory;
public class RetryPolicyStore {
- private static final Logger log = LoggerFactory.getLogger(RetryPolicyStore.class);
-
HashMap<String, RetryPolicy> retryPolicies;
public String proxyServers;
+ public RetryPolicyStore() {
+ retryPolicies = new HashMap<>();
+ }
+
public String getProxyServers() {
return proxyServers;
}
RetryPolicy adminPortalRetry = new RetryPolicy(adminServersArray, adminServersArray.length);
retryPolicies.put("dme2proxy", adminPortalRetry);
}
-
- public RetryPolicyStore() {
- retryPolicies = new HashMap<>();
- }
public RetryPolicy getRetryPolicy(String policyName) {
return (this.retryPolicies.get(policyName));
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights
* reserved.
+ * Modifications Copyright © 2018 IBM
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
private Map<String, String> properties = new HashMap<>();
- public Map<String, String> getProperties() {
- return properties;
- }
+ StringBuilder currentName = new StringBuilder();
+ StringBuilder currentValue = new StringBuilder();
public Handler(Set<String> listNameList) {
super();
this.listNameList = new HashSet<>();
}
- StringBuilder currentName = new StringBuilder();
- StringBuilder currentValue = new StringBuilder();
+ public Map<String, String> getProperties() {
+ return properties;
+ }
@Override
public void startElement(String uri, String localName, String qName, Attributes attributes)