Package yalp.classloading

Examples of yalp.classloading.ApplicationClassloader


        Yalp.applicationPath = new File(System.getProperty("application.path"));
        Yalp.guessFrameworkPath();
        Yalp.readConfiguration();
        Yalp.javaPath = new ArrayList<VirtualFile>();
        Yalp.classes = new ApplicationClasses();
        Yalp.classloader = new ApplicationClassloader();

        Yalp.templatesPath = new ArrayList<VirtualFile>();
        Yalp.modulesRoutes = new HashMap<String, VirtualFile>();
        Yalp.loadModules();
View Full Code Here


        // Load the templates from the framework after the one from the modules
        templatesPath.add(VirtualFile.open(new File(frameworkPath, "framework/templates")));

        // Enable a first classloader
        classloader = new ApplicationClassloader();

        // Fix ctxPath
        if ("/".equals(Yalp.ctxPath)) {
            Yalp.ctxPath = "";
        }
View Full Code Here

                }
            }

            if (mode == Mode.DEV) {
                // Need a new classloader
                classloader = new ApplicationClassloader();
                // Put it in the current context for any code that relies on having it there
                Thread.currentThread().setContextClassLoader(classloader);
                // Reload plugins
                pluginCollection.reloadApplicationPlugins();
View Full Code Here

        Yalp.configuration = configuration;
        Yalp.classes = new ApplicationClasses();
        Yalp.javaPath = new ArrayList<VirtualFile>();
        Yalp.applicationPath = new File(".");
        Yalp.classloader = new ApplicationClassloader();
        Yalp.plugins = Collections.unmodifiableList(new ArrayList<YalpPlugin>());

    }
View Full Code Here

TOP

Related Classes of yalp.classloading.ApplicationClassloader

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.