Java Code Examples for org.camunda.bpm.engine.impl.util.ClassLoaderUtil#getClassloader()
The following examples show how to use
org.camunda.bpm.engine.impl.util.ClassLoaderUtil#getClassloader() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ConnectProcessEnginePlugin.java From camunda-bpm-platform with Apache License 2.0 | 5 votes |
@Override public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) { // use classloader which loaded the plugin ClassLoader classloader = ClassLoaderUtil.getClassloader(ConnectProcessEnginePlugin.class); Connectors.loadConnectors(classloader); addConnectorParseListener(processEngineConfiguration); }
Example 2
Source File: SpringBootSpinProcessEnginePlugin.java From camunda-bpm-spring-boot-starter with Apache License 2.0 | 4 votes |
@Override public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) { ClassLoader classloader = ClassLoaderUtil.getClassloader(SpringBootSpinProcessEnginePlugin.class); loadSpringBootDataFormats(classloader); }
Example 3
Source File: SpringBootSpinProcessEnginePlugin.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
@Override public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) { ClassLoader classloader = ClassLoaderUtil.getClassloader(SpringBootSpinProcessEnginePlugin.class); loadSpringBootDataFormats(classloader); }
Example 4
Source File: SpinProcessEnginePlugin.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
@Override public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) { // use classloader which loaded the plugin ClassLoader classloader = ClassLoaderUtil.getClassloader(SpinProcessEnginePlugin.class); DataFormats.loadDataFormats(classloader); }
Example 5
Source File: AbstractProcessApplication.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
public ClassLoader getProcessApplicationClassloader() { // the default implementation uses the classloader that loaded // the application-provided subclass of this class. return ClassLoaderUtil.getClassloader(getClass()); }
Example 6
Source File: ServletProcessApplication.java From camunda-bpm-platform with Apache License 2.0 | 3 votes |
protected ClassLoader initProcessApplicationClassloader(ServletContextEvent sce) { if (isServlet30ApiPresent(sce) && getClass().equals(ServletProcessApplication.class)) { return ClassLoaderUtil.getServletContextClassloader(sce); } else { return ClassLoaderUtil.getClassloader(getClass()); } }