---
title: Catalog.JavaExtension
slug: ps/help/en_us/vtm/controlapi/catalogjavaextension
docTags: 
createdAt: 2026-08-02T08:52:21.999Z
---

URI: http\://soap.zeus.com/zxtm/1.0/Catalog/JavaExtension/

The Catalog.JavaExtension interface allows management of Java Extensions. Using this interface you can retrieve information on each extension in the system, and set the initialisation properties to alter their behaviour.

### Methods

### addProperties( class\_names, properties ) throws LicenseError, ObjectDoesNotExist, InvalidInput

Adds initialisation properties for each of the specified extensions.

```bash
void addProperties(
String[] class_names
Catalog.JavaExtension.Property[][] properties
)
```

### deleteJavaExtensionFile( names ) throws LicenseError, ObjectDoesNotExist, ObjectInUse

Delete the named Java Extension files.

```bash
void deleteJavaExtensionFile(
String[] names
)
```

### downloadJavaExtensionFile( name ) throws LicenseError, ObjectDoesNotExist

Download the named Java Extension File.

```bash
Binary Data downloadJavaExtensionFile(
String name
)
```

### editProperties( class\_names, properties\_being\_edited, properties ) throws LicenseError, ObjectDoesNotExist, InvalidInput

Edits the initialisation properties for each of the specified extensions.

```bash
void editProperties(
String[] class_names
String[][] properties_being_edited
Catalog.JavaExtension.Property[][] properties
)
```

### getExtensionClassNames() throws LicenseError

Gets the class names of all the extensions currently in the system.

```bash
String[] getExtensionClassNames()
```

### getExtensionErrors( class\_names ) throws LicenseError, ObjectDoesNotExist

Gets the errors for each of the specified extensions.

```bash
String[][] getExtensionErrors(
String[] class_names
)
```

### getExtensionInfo( class\_names ) throws LicenseError, ObjectDoesNotExist

Gets information on each of the specified extensions.

```bash
Catalog.JavaExtension.Info[] getExtensionInfo(
String[] class_names
)
```

### getJavaExtensionFileNames() throws LicenseError

Get the names of Java Extension files on the traffic manager. This list includes files that contain Java Extension and non-Java Extension files, such as other .jar files.

```bash
String[] getJavaExtensionFileNames()
```

### getProperties( class\_names ) throws LicenseError, ObjectDoesNotExist

Gets the initialisation properties for each of the specified extensions.

```bash
Catalog.JavaExtension.Property[][] getProperties(
String[] class_names
)
```

### removeProperties( class\_names, prop\_names ) throws LicenseError, ObjectDoesNotExist, InvalidInput

Removes initialisation properties for each of the specified extensions.

```bash
void removeProperties(
String[] class_names
String[][] prop_names
)
```

### uploadJavaExtensionFile( name, content ) throws InvalidObjectName, LicenseError, InvalidInput

Uploads a new file that may contain a Java Extension. This will overwrite the file if it already exists.

```bash
void uploadJavaExtensionFile(
String name
Binary Data content
)
```

### Structures

### Catalog.JavaExtension.Info

This structure contains basic information about a Java Extension in the catalog.

```bash
struct Catalog.JavaExtension.Info {
# The Java class name of the extension.
String class_name;
# The location of the Java extension class.
String path;
# The virtual servers that use this extension.
String[] virtual_servers;
# The rules that use this extension.
String[] rules;
}
```

### Catalog.JavaExtension.Property

Represents an initialisation property for an extension.

```bash
struct Catalog.JavaExtension.Property {
# The name of this property
String name;
# The value of this property
String value;
}
```
