Example #1
0
        public override void preInit(ProcessEngineConfigurationImpl processEngineConfiguration)
        {
            // use classloader which loaded the plugin
            ClassLoader classloader = ClassLoaderUtil.getClassloader(typeof(SpinProcessEnginePlugin));

            DataFormats.loadDataFormats(classloader);
        }
Example #2
0
        public override void preInit(ProcessEngineConfigurationImpl processEngineConfiguration)
        {
            // use classloader which loaded the plugin
            ClassLoader classloader = ClassLoaderUtil.getClassloader(typeof(ConnectProcessEnginePlugin));

            Connectors.loadConnectors(classloader);

            addConnectorParseListener(processEngineConfiguration);
        }
Example #3
0
 protected internal virtual ClassLoader initProcessApplicationClassloader(ServletContextEvent sce)
 {
     if (isServlet30ApiPresent(sce) && this.GetType().Equals(typeof(ServletProcessApplication)))
     {
         return(ClassLoaderUtil.getServletContextClassloader(sce));
     }
     else
     {
         return(ClassLoaderUtil.getClassloader(this.GetType()));
     }
 }
Example #4
0
        public virtual URL lookupBpmPlatformXmlFromClassPath(string resourceLocation)
        {
            URL fileLocation = ClassLoaderUtil.getClassloader(this.GetType()).getResource(resourceLocation);

            if (fileLocation != null)
            {
                LOG.foundConfigAtLocation(resourceLocation, fileLocation.ToString());
            }

            return(fileLocation);
        }