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

            DataFormats.loadDataFormats(classloader);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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()));
     }
 }
Exemplo n.º 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);
        }