Package org.auraframework.impl.system

Examples of org.auraframework.impl.system.MasterDefRegistryImpl$CompilingDef


@Controller
public class AdminController {
    @AuraEnabled
    public static void clearAllRegistries() {
        AuraContext c = AuraImpl.getContextAdapter().getCurrentContext();
        MasterDefRegistryImpl mdr = (MasterDefRegistryImpl) c.getDefRegistry();
        DefRegistry<?>[] regs = mdr.getAllRegistries();
        for (DefRegistry<?> r : regs) {
            r.clear();
        }
    }
View Full Code Here


    }

    public AdminModel() throws JMException {
        AuraContext c = AuraImpl.getContextAdapter().getCurrentContext();
        m = c.getMode();
        MasterDefRegistryImpl mdr = (MasterDefRegistryImpl) c.getDefRegistry();
        DefRegistry<?>[] regs = mdr.getAllRegistries();

        defsData = getMockMap(); //getStats(MasterDefRegistryImpl.getDefsCacheStats());
        //addDefsStats(defsData, MasterDefRegistryImpl.getCachedDefs());
        existsData = getMockMap(); //getStats(MasterDefRegistryImpl.getExistsCacheStats());
        stringsData = getMockMap(); // getStats(MasterDefRegistryImpl.getStringsCacheStats());
View Full Code Here

        return context;
    }

    protected AuraContext buildSystemContext(AuraContext original) {
        return new AuraContextImpl(original.getMode(),
                new MasterDefRegistryImpl((MasterDefRegistryImpl)original.getDefRegistry()),
                original.getDefaultPrefixes(), original.getFormat(), original.getAccess(),
                original.getJsonSerializationContext(), original.getGlobalProviders(), false);
    }
View Full Code Here

    private PrefixDefaultsAdapter getDefaultsProvider() {
        return ServiceLocator.get().get(PrefixDefaultsAdapter.class);
    }

    private MasterDefRegistry getDefRegistry(Mode mode, Authentication access, Set<SourceLoader> loaders) {
        return new MasterDefRegistryImpl(getRegistries(mode, access, loaders));
    }
View Full Code Here

TOP

Related Classes of org.auraframework.impl.system.MasterDefRegistryImpl$CompilingDef

Copyright © 2018 www.massapicom. 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.