super(); final WorkspaceInfo defaultWs = getCatalog().getDefaultWorkspace(); if (defaultWs == null) { throw new IllegalStateException("No default Workspace configured"); final NamespaceInfo defaultNs = getCatalog().getDefaultNamespace(); if (defaultNs == null) { throw new IllegalStateException("No default Namespace configured"); DataStoreInfo info = getCatalog().getFactory().createDataStore(); info.setWorkspace(defaultWs); info.setEnabled(true);
super(); final WorkspaceInfo defaultWs = getCatalog().getDefaultWorkspace(); if (defaultWs == null) { throw new IllegalStateException("No default Workspace configured"); final NamespaceInfo defaultNs = getCatalog().getDefaultNamespace(); if (defaultNs == null) { throw new IllegalStateException("No default Namespace configured"); DataStoreInfo info = getCatalog().getFactory().createDataStore(); info.setWorkspace(defaultWs); info.setEnabled(true);
final Catalog catalog = getCatalog();
final Catalog catalog = getCatalog();