Salesforce

Java Class Connector Utility (Magic xpi 4.5)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Java Class Connector Utility (Magic xpi 4.5)

The Java Class Connector utility lets you access and manipulate Java classes and objects. Accessing Java class objects is done by selecting the required objects such as Instance Methods, Instance Variables, Static Methods, and Static Variables, and receiving the returns from each. This allows components in your flow to access the Java class.

The Java Class Connector utility looks for Java classes as follows:

  • During design time, if you need the Magic xpi Studio to be familiar with a specific Java class:

    • Its path should appear in the CLASSPATH entry in the machine’s environment variables.

    • Or, if you have a jar file, you should put it under the <Magic xpi installation>\Runtime\java\lib path and refresh the class list in the Magic xpi Studio.

  • During runtime:

    • According to the paths that are in the CLASSPATH entry in the machine’s environment variables.

    • In the Class subfolder of your project's Java folder there should be a folder with the package name that contains the class file(s). For example: <Project>\Java\Class\PackageName\ClassFile

Related Topics

Reference
Attachment 
Attachment