use of com.revolsys.webservice.WebServiceConnectionManager in project com.revolsys.open by revolsys.
the class WebServiceConnectionTrees method newWebServiceConnectionsTreeNode.
public static BaseTreeNode newWebServiceConnectionsTreeNode() {
final WebServiceConnectionManager webServicesConnectionManager = WebServiceConnectionManager.get();
final BaseTreeNode webServices = BaseTreeNode.newTreeNode(webServicesConnectionManager);
webServices.setOpen(true);
return webServices;
}
use of com.revolsys.webservice.WebServiceConnectionManager in project com.revolsys.open by revolsys.
the class ProjectFrame method setConnectionRegistries.
private void setConnectionRegistries() {
final String connectionRegistryName = this.project.getConnectionRegistryName();
final RecordStoreConnectionManager recordStoreConnectionManager = RecordStoreConnectionManager.get();
recordStoreConnectionManager.removeConnectionRegistry(connectionRegistryName);
final RecordStoreConnectionRegistry recordStores = this.project.getRecordStores();
recordStoreConnectionManager.addConnectionRegistry(recordStores);
final FileConnectionManager fileConnectionManager = FileConnectionManager.get();
fileConnectionManager.removeConnectionRegistry(connectionRegistryName);
final FolderConnectionRegistry folderConnections = this.project.getFolderConnections();
fileConnectionManager.addConnectionRegistry(folderConnections);
final WebServiceConnectionManager webServiceConnectionManager = WebServiceConnectionManager.get();
webServiceConnectionManager.removeConnectionRegistry(connectionRegistryName);
final WebServiceConnectionRegistry webServices = this.project.getWebServices();
webServiceConnectionManager.addConnectionRegistry(webServices);
}
Aggregations