use of com.zimbra.soap.admin.type.AlwaysOnClusterInfo in project zm-mailbox by Zimbra.
the class SoapProvisioning method getAllAlwaysOnClusters.
@Override
public List<AlwaysOnCluster> getAllAlwaysOnClusters() throws ServiceException {
ArrayList<AlwaysOnCluster> result = new ArrayList<AlwaysOnCluster>();
GetAllAlwaysOnClustersResponse resp = invokeJaxb(new GetAllAlwaysOnClustersRequest());
for (AlwaysOnClusterInfo clusterInfo : resp.getAlwaysOnClusterList()) {
result.add(new SoapAlwaysOnCluster(clusterInfo, this));
}
return result;
}
Aggregations