public override void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) { // use classloader which loaded the plugin ClassLoader classloader = ClassLoaderUtil.getClassloader(typeof(SpinProcessEnginePlugin)); DataFormats.loadDataFormats(classloader); }
public override void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) { // use classloader which loaded the plugin ClassLoader classloader = ClassLoaderUtil.getClassloader(typeof(ConnectProcessEnginePlugin)); Connectors.loadConnectors(classloader); addConnectorParseListener(processEngineConfiguration); }
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())); } }
public virtual URL lookupBpmPlatformXmlFromClassPath(string resourceLocation) { URL fileLocation = ClassLoaderUtil.getClassloader(this.GetType()).getResource(resourceLocation); if (fileLocation != null) { LOG.foundConfigAtLocation(resourceLocation, fileLocation.ToString()); } return(fileLocation); }