8.1

Table Of Contents
DescriptionTypeParameter
Script ID.String
scriptId
Gets the supported scripting languages.
getSupportedLanguages
Checks whether a particular scripting language is supported.
isLanguageSupported
DescriptionTypeParameter
Language to check.String
language
Updates a script. If the script does not exist, this function
adds it.
updateScript
DescriptionTypeParameter
Script to update or add.
QScriptscript
QXP Server Manager
The following topics are for people who want to enhance QuarkXPress Server Manager or
integrate it with other software.
Please refer to http://localhost:8090/qxpsmdocs/apidocs/index.html for manager
API documentation. (Note that the port number used to retrieve the API documentation
is 8090 by default, but you should use whatever port number you specified when installing
QuarkXPress Server Manager.)
QuarkXPress Server Manager was developed using interface-based programming and uses
the Spring Framework to instantiate pluggable objects. When QuarkXPress Server Manager
starts up, it reads the contents of a Spring context definition file named
"ManagerContainerConfig.xml" and instantiates all of the beans listed in the file.
QuarkXPress Server Manager then initializes by reading various configuration options
from a file named "ManagerConfig.xml."
Integrating with other Web servers
By default, QuarkXPress Server Manager is integrated with Tomcat.
QuarkXPress Server Manager needs a cache virtual directory to work. The context definition
file contains a bean definition called ContainerAdapter. By default, it uses the Tomcat
adapter, QTomcatContainerAdapterImpl. This adapter assumes the virtual directory to
be cache and reads the location of the virtual directory from the "cache.xml" file, which
is located in Tomcat's conf/Catalina/localhost folder.
If QuarkXPress Server Manager needs to be hosted in another web server, you can write
your own adapter or use QDefaultContainerAdapterImpl (which is provided with
QuarkXPress Server Manager). This adapter assumes that the cache folder is located under
the Web application context folder. The name of the cache folder can be set using the
Spring configuration file or the setCacheFolderRelativePath method.
QXP SERVER 8.1 WEB INTEGRATION GUIDE | 27
GETTING STARTED