Skip to main content

ModelCenter Remote Execution Java API 2026 R1

Interface: IPHXVersionedLibrarian

Last update: 22.06.2026

Package: com.phoenix_int.aserver.library

All Superinterfaces:

All Known Subinterfaces:

All Known Implementing Classes:


Declaration

@Deprecated
public interface IPHXVersionedLibrarian
extends IPHXLibrarian

Deprecated: It is preferred to use IPHXVersionedLibrarian3 as this class has methods that can leak resources.

This extends the IPHXLibrarian interface to include version information about components.

Method Summary

Modifier and Type Method and Description
PHXComponentBranch getComponentHistory(java.lang.String compClass, java.lang.String virtualDir)
Deprecated. Gets all version information about a particular component.

Methods inherited from interface IPHXLibrarian:

cleanUp, describe, getQueues, initialize, instantiate, instantiate, listComponents, listDirectories

Method Detail

getComponentHistory

PHXComponentBranch getComponentHistory(java.lang.String compClass,
                                       java.lang.String virtualDir)
                                throws java.lang.Exception

Deprecated. Gets all version information about a particular component. It is important that this class throws PHXNoSuchCategoryException and ClassNotFoundException in the appropriate cases as they are handled in special ways by the librarian mounter and librarian combiner.

Parameters:

  • compClass - the class name for the component
  • virtualDir - The directory the client asked for

Returns:

  • An instance of PHXComponentBranch which contains all the versions and sub-branches available

Throws:

  • PHXNoSuchCategoryException - If the virtualDirName passed in is invalid
  • java.lang.ClassNotFoundException - If compClass doesn't indicate a valid class for the specified directory
  • java.lang.Exception - If anything goes wrong

Connect with Ansys