Catalog.JavaExtension
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.
void addProperties(
String[] class_names
Catalog.JavaExtension.Property[][] properties
)deleteJavaExtensionFile( names ) throws LicenseError, ObjectDoesNotExist, ObjectInUse
Delete the named Java Extension files.
void deleteJavaExtensionFile(
String[] names
)downloadJavaExtensionFile( name ) throws LicenseError, ObjectDoesNotExist
Download the named Java Extension File.
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.
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.
String[] getExtensionClassNames()getExtensionErrors( class_names ) throws LicenseError, ObjectDoesNotExist
Gets the errors for each of the specified extensions.
String[][] getExtensionErrors(
String[] class_names
)getExtensionInfo( class_names ) throws LicenseError, ObjectDoesNotExist
Gets information on each of the specified extensions.
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.
String[] getJavaExtensionFileNames()getProperties( class_names ) throws LicenseError, ObjectDoesNotExist
Gets the initialisation properties for each of the specified extensions.
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.
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.
void uploadJavaExtensionFile(
String name
Binary Data content
)Structures
Catalog.JavaExtension.Info
This structure contains basic information about a Java Extension in the catalog.
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.
struct Catalog.JavaExtension.Property {
# The name of this property
String name;
# The value of this property
String value;
}