Examples of onSourceChanged()


Examples of org.auraframework.service.DefinitionService.onSourceChanged()

                }
            }
        };
        definitionService.subscribeToChangeNotification(listener);
        for (DefDescriptor<?> desc : cached) {
            definitionService.onSourceChanged(desc, SourceMonitorEvent.CHANGED, null);
        }
        if (!latch.await(CACHE_CLEARING_TIMEOUT_SECS, TimeUnit.SECONDS)) {
            throw new AuraRuntimeException(String.format(
                    "Timed out after %s seconds waiting for cached Aura definitions to clear: %s",
                    CACHE_CLEARING_TIMEOUT_SECS, defs));
View Full Code Here

Examples of org.auraframework.system.SourceListener.onSourceChanged()

            // notify provided listeners, presumably to clear caches
            for (WeakReference<SourceListener> i : listeners) {
                SourceListener sl = i.get();

                if (sl != null) {
                    sl.onSourceChanged(source, event, filePath);
                }
            }
            // lastly, clear MDR's static caches
            invalidateSourceRelatedCaches(source);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.