Package org.mule.module.launcher

Examples of org.mule.module.launcher.MuleApplicationClassLoader


            try
            {
                ConfigWatchDog configWatchDog = null;
                if (ccl instanceof MuleApplicationClassLoader)
                {
                    MuleApplicationClassLoader muleCL = (MuleApplicationClassLoader) ccl;
                    // check if there's an app-specific logging configuration available,
                    // scope the lookup to this classloader only, as getResource() will delegate to parents
                    // locate xml config first, fallback to properties format if not found
                    URL appLogConfig = muleCL.findResource("log4j.xml");
                    if (appLogConfig == null)
                    {
                        appLogConfig = muleCL.findResource("log4j.properties");
                    }
                    final String appName = muleCL.getAppName();
                    if (appLogConfig == null)
                    {
                        // fallback to defaults
                        String logName = String.format("mule-app-%s.log", appName);
                        File logDir = new File(MuleContainerBootstrapUtils.getMuleHome(), "logs");
View Full Code Here


            MulePluginsClassLoader cl = new MulePluginsClassLoader(parent, plugins);
            // re-assign parent ref if any plugins deployed, will be used by the MuleAppCL
            parent = cl;
        }

        final MuleApplicationClassLoader appCl = new MuleApplicationClassLoader(descriptor.getAppName(),
                                                                                parent,
                                                                                descriptor.getLoaderOverride());
        this.deploymentClassLoader = appCl;
    }
View Full Code Here

        {
            // re-assign parent ref if any plugins deployed, will be used by the MuleAppCL
            parent = new MulePluginsClassLoader(parent, plugins);
        }

        return new MuleApplicationClassLoader(descriptor.getAppName(), parent, descriptor.getLoaderOverride(), nativeLibraryFinderFactory.create(descriptor.getAppName()));
    }
View Full Code Here

TOP

Related Classes of org.mule.module.launcher.MuleApplicationClassLoader

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.