use of com.revolsys.record.io.RecordStoreConnectionManager 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);
}
use of com.revolsys.record.io.RecordStoreConnectionManager in project com.revolsys.open by revolsys.
the class RecordStoreConnectionTrees method newRecordStoreConnectionsTreeNode.
public static BaseTreeNode newRecordStoreConnectionsTreeNode() {
final RecordStoreConnectionManager connectionManager = RecordStoreConnectionManager.get();
final BaseTreeNode node = BaseTreeNode.newTreeNode(connectionManager);
node.setOpen(true);
return node;
}
Aggregations