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

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

**Superinterfaces**

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

**Known Subinterfaces**

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

**Known Implementing Classes**

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

**Declaration**

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

This interface extends [`IPHXSelfManager`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/IPHXSelfManager) and provides new get and set functions which provide better performance than the original.

**See Also:**

* `IPHXSelfManager`

## Method Summary

| Modifier and Type | Method and Description |
| - | - |
| `java.lang.Object` | `getValue2(java.lang.String name)` Function for retrieving a specified value. |
| `void` | `setValue2(java.lang.String name, PHXStringBuffer value)` Function for setting a specified value. |

### Methods inherited from interface `com.phoenix_int.aserver.IPHXSelfManager`

`getMethodDescriptors`, `getPropertyDescriptors`, `getValue`, `invoke`, `setValue`

## Method Detail

### getValue2

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

Function for retrieving a specified value.

**Parameters:**

* `name` - the value to retrieve

**Returns:**

* The value to be returned as any type of java Object.

**Throws:**

* [`PHXNoSuchObjectException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXNoSuchObjectException) - thrown if the specified name does not exist
* `java.lang.Exception` - an exception that may occur

### setValue2

```java theme={null}
void setValue2(java.lang.String name, 
               PHXStringBuffer 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`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXNoSuchObjectException) - thrown if the specified name does not exist
* [`PHXNoSuchWriteableObjectException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXNoSuchWriteableObjectException) - thrown if the specified name cannot be modified
* `java.lang.Exception` - an exception that may occur
