<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How can I get the ClassLoader of a specific PMV</title><link>https://answers.axonivy.com/questions/1391/how-can-i-get-the-classloader-of-a-specific-pmv</link><description>&lt;p&gt;Hi everyone&lt;/p&gt;
&lt;p&gt;Is it possible to receive the ClassLoader of a specific Process Model/Process Model Version (if I already have an &lt;code&gt;IProcessModelVersion&lt;/code&gt; instance)?&lt;/p&gt;
&lt;p&gt;Best regards
Lars&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1391/how-can-i-get-the-classloader-of-a-specific-pmv" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 08 Jul 2015 17:09:45 -0400</lastBuildDate><item><title>Answer by Reto Weiss</title><link>https://answers.axonivy.com/questions/1391/how-can-i-get-the-classloader-of-a-specific-pmv/1393</link><description>&lt;p&gt;There is no Public API to access the ClassLoader of a specific Process Model Version. &lt;/p&gt;
&lt;p&gt;However, there are internal API to do so. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note that internal API should not be used in your Axon.ivy projects since they will change in future releases and therefore will break your projects.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Example Code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import ch.ivyteam.ivy.project.IIvyProject;
import ch.ivyteam.ivy.application.IProcessModelVersion;
import ch.ivyteam.ivy.project.IvyProjectNavigationUtil;

IProcessModelVersion pmv = ivy.request.getProcessModelVersion();
IIvyProject ivyProject = IvyProjectNavigationUtil.getIvyProject(pmv);
ClassLoader projectClassLoader = ivyProject.getProjectClassLoader();
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reto Weiss</dc:creator><pubDate>Wed, 08 Jul 2015 17:09:45 -0400</pubDate><guid>https://answers.axonivy.com/questions/1391/how-can-i-get-the-classloader-of-a-specific-pmv/1393</guid></item></channel></rss>