Class
Server specific runtime settings. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
ServerSetting
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
configuration | string | readonly | The configuration name for this instance of the server. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
imagePreview | bool | r/w | If true, generates image previews. |
iorFile | File | readonly | Location to write the IOR file for CORBA. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
javascriptUi | bool | r/w | If true, makes the native JavaScript user interface available. |
maximumErrors | number | r/w | Maximum number of errors to save. |
parent | Application | readonly | The parent of the ServerSetting (a Application). |
pluginPaths | Array of File | readonly | Additional paths from which to load plugins. |
port | number | readonly | The socket the server uses to service SOAP requests. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
sendCrashLogs | bool | readonly | If true, send crash log data to Adobe. |
useConsole | bool | readonly | If true, output is going to a console window. |
useErrorList | bool | r/w | If true, errors are saved in the error list. |
useEventLog | bool | readonly | If true, output is redirected to the system event log. |
useStructuredEventHandler | bool | readonly | If true, install structured event handler. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array
of ServerSetting getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the ServerSetting.
Element of
Application.serverSettings
Return
Array of ServerSetting ServerSetting.getElements ()
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |