> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: IPHXVersionedLibrarian

**Package:** `com.phoenix_int.aserver.library`

**All Superinterfaces:**

* [`IPHXLibrarian`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/library/IPHXLibrarian)

**All Known Subinterfaces:**

* [`IPHXVersionedLibrarian2`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/library/IPHXVersionedLibrarian2)

**All Known Implementing Classes:**

* [`PHXCVSLibrarian`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/library/PHXCVSLibrarian)
* [`PHXLibrarianCombiner`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/library/PHXLibrarianCombiner)
* [`PHXLibrarianMounter`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/library/PHXLibrarianMounter)
* [`PHXDirectoryLibrarian`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/library/PHXDirectoryLibrarian)

***

**Declaration**

```java theme={null}
@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`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/library/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`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/library/IPHXLibrarian):

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

## Method Detail

### getComponentHistory

```java theme={null}
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`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/library/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`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/PHXComponentBranch) which contains all the versions and sub-branches available

**Throws:**

* [`PHXNoSuchCategoryException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/library/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
