public void loadDefaultLibraries() { LoadLibraryEventListener listener = createDefaultNamespaceEventListener(scopeService, assetService); loadLibraryEventListeners.add(listener); // no need to use import tag on wongilla script to import this default namespace importedNamespaceNames.add(listener.getNamespaceFullName()); }
public void loadLibraries() { for (LoadLibraryEventListener listener : loadLibraryEventListeners) { // only import if it is never created before. if (!Namespace.isNamespaceCreated(rootNamespace, "ROOT." + listener.getNamespaceFullName())) { listener.addLibrary(rootNamespace, scopeService, assetService); } } }