> ## 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: IPHXSelfManager

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

**Known Subinterfaces**

* [`IPHXSelfManager2`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2025-r2/com/phoenix_int/aserver/IPHXSelfManager2), [`IPHXSelfManager3`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2025-r2/com/phoenix_int/aserver/IPHXSelfManager3)

**Known Implementing Classes**

* [`PHXSimpleSelfManager`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2025-r2/com/phoenix_int/aserver/PHXSimpleSelfManager), [`PHXSimpleSelfManager2`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2025-r2/com/phoenix_int/aserver/PHXSimpleSelfManager2), [`PHXSimpleSelfManager3`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2025-r2/com/phoenix_int/aserver/PHXSimpleSelfManager3)

**Declaration**

```java theme={null}
public interface IPHXSelfManager
```

This interface is for components that determine their properties at runtime. These types of components do not know what variables they have until they are started. Examples include wrappers that communicate with external programs—once the wrapper starts up, it loads a file into the external program. The external program then can be queried for its variables, which are then relayed through the analysis object. To handle this type of situation, a component should implement the functions provided by this interface. When present, ModelCenter Remote Execution will call these functions. If an object does not implement this interface, the MCRE will use the default Bean mechanisms for interacting with the object.

**See Also:**

* [`IPHXComponent`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2025-r2/com/phoenix_int/aserver/IPHXComponent), [`IPHXAnalysis`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2025-r2/com/phoenix_int/aserver/IPHXAnalysis), [`IPHXDriver`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2025-r2/com/phoenix_int/aserver/IPHXDriver)

## Method Summary

| Modifier and Type | Method and Description |
| - | - |
| `PHXMethodDescriptor[]` | `getMethodDescriptors()` Function for retrieving the methods of an object. |
| `PHXPropertyDescriptor[]` | `getPropertyDescriptors(java.lang.String name)` Function for retrieving the properties of an object. |
| `java.lang.String` | `getValue(java.lang.String name)` Function for retrieving a specified value. |
| `java.lang.String` | `invoke(java.lang.String methodName)` Invokes the named method. |
| `void` | `setValue(java.lang.String name, java.lang.String value)` Function for setting a specified value. |

## Method Detail

### getValue

```java theme={null}
java.lang.String getValue(java.lang.String name)
                   throws PHXNoSuchObjectException, 
                          java.lang.Exception
```

Function for retrieving a specified value.

**Parameters:**

* `name` - the value to retrieve

**Returns:**

* a String representation of the value

**Throws:**

* `PHXNoSuchObjectException` - thrown if the specified name does not exist
* `java.lang.Exception` - an exception that may occur

### setValue

```java theme={null}
void setValue(java.lang.String name, 
              java.lang.String value)
       throws PHXNoSuchObjectException, 
              PHXNoSuchWriteableObjectException, 
              java.lang.Exception
```

Function for setting a specified value.

**Parameters:**

* `name` - the value to retrieve
* `value` - the String representation of the value to set

**Throws:**

* `PHXNoSuchObjectException` - thrown if the specified name does not exist
* `PHXNoSuchWriteableObjectException` - thrown if the specified name cannot be modified
* `java.lang.Exception` - an exception that may occur

### getPropertyDescriptors

```java theme={null}
PHXPropertyDescriptor[] getPropertyDescriptors(java.lang.String name)
                                        throws PHXNoSuchObjectException, 
                                               java.lang.Exception
```

Function for retrieving the properties of an object.

**Parameters:**

* `name` - the object to retrieve descriptors for

**Returns:**

* an array of PHXPropertyDescriptors

**Throws:**

* `PHXNoSuchObjectException` - thrown if the specified name does not exist
* `java.lang.Exception` - an exception that may occur

### getMethodDescriptors

```java theme={null}
PHXMethodDescriptor[] getMethodDescriptors()
                                    throws java.lang.Exception
```

Function for retrieving the methods of an object.

**Returns:**

* an array of MethodDescriptors

**Throws:**

* `java.lang.Exception` - an exception that may occur

### invoke

```java theme={null}
java.lang.String invoke(java.lang.String methodName)
                 throws java.lang.Exception
```

Invokes the named method.

**Parameters:**

* `methodName` - the name of the method to invoke on obj

**Returns:**

* the return value from the invocation

**Throws:**

* `java.lang.Exception` - an exception that may occur
