Hi everyone

Is it possible to receive the ClassLoader of a specific Process Model/Process Model Version (if I already have an IProcessModelVersion instance)?

Best regards Lars

asked 07.07.2015 at 14:36

Lars%20Tuchel's gravatar image

Lars Tuchel
accept rate: 60%

There is no Public API to access the ClassLoader of a specific Process Model Version.

However, there are internal API to do so.

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.

Example Code:

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();

answered 08.07.2015 at 17:09

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
accept rate: 74%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 07.07.2015 at 14:36

Seen: 2,509 times

Last updated: 08.07.2015 at 17:09