Skip to main content

ModelCenter APIs 2026 R1

PHXPlugInLauncher

Last update: 18.06.2026

public class PHXPlugInLauncher

Upgraded, thread-safe, etc. plug-in launcher for ModelCenter.

Author

Dave

Constructors

PHXPlugInLauncher constructor()

Functions

Name Summary
classExists public classExists(jarFile: String, className: String): Boolean
Utility method to determine if a class exists in a JAR file.
cleanUp public cleanUp()
Do cleanup of any resources we've created as part of the launcher setup.
constructModelCenter public constructModelCenter(mcStream: Long): ModelCenter
Constructs a ModelCenter object.
disableIOConsole public disableIOConsole(discardOutput: Boolean)
Prevents a PHXIOConsole from ever being created and optionally redirects err and out to the bit bucket.
getDummyFrame public getDummyFrame(): JFrame
Returns a dummy frame object to be used as a parent frame for Java plug-ins.
launchComponentPlugIn public launchComponentPlugIn(mcStream: Long, jarFile: String, className: String, atmStream: Long): IComponentPlugIn
Construct an instance of the specified Component PlugIn class.
launchDataCollectorPlugIn public launchDataCollectorPlugIn(mcStream: Long, jarFile: String, className: String, atmStream: Long, dcStream: Long): IDataCollectorPlugIn
Construct an instance of the specified Data Collector PlugIn class.
launchPlugInMetaData public launchPlugInMetaData(jarFile: String, className: String): IPlugInMetaData
Get the specified PlugIn metadata class.
launchTradeStudyPlugIn public launchTradeStudyPlugIn(mcStream: Long, jarFile: String, className: String, atmStream: Long): ITradeStudyPlugIn
Construct an instance of the specified Trade Study PlugIn class.

Connect with Ansys