SERVICE_APPLICATION_TIMEOUT_COMPONENT
The SERVICE_APPLICATION_TIMEOUT_COMPONENT
element creates a set of
timeout values to be used when configuring a Web service.
Syntax
<SERVICE_APPLICATION_TIMEOUT_COMPONENT Id=component-id>
[<DVM_AVAILABLE>...</DVM_AVAILABLE>]
[<KEEP_ALIVE>...</KEEP_ALIVE>]
[<REQUEST_RESULT>...</REQUEST_RESULT>]
</SERVICE_APPLICATION_TIMEOUT_COMPONENT>
- component-id is the unique identifier for this set of timeout definitions.
Child elements
SERVICE_APPLICATION_TIMEOUT_COMPONENT
element may contain the following
child elements:- Zero or one
DVM_AVAILABLE
element. - Zero or one
KEEP_ALIVE
element. - Zero or one
REQUEST_RESULT (for a service)
element.
Usage
You use this element to provide your Web service with a base set of time-out parameters. Timeouts provide a mechanism to the Genero Application Server (GAS) or Web service to react to time-based events; such as user inactivity, or the time it takes to start a new application. Each timeout element specifies the number of seconds to wait prior to having the GAS perform the task related to the timeout event.
You can use this element within the COMPONENT_LIST
element of the GAS configuration file to define timeout components
that can be referenced by Id
when configuring an application; providing a set of
timeout values for the application.
Usage example
<SERVICE_APPLICATION_TIMEOUT_COMPONENT Id="cpn.ws.timeout.set1">
<DVM_AVAILABLE>10</DVM_AVAILABLE>
<KEEP_ALIVE>360</KEEP_ALIVE>
<REQUEST_RESULT>60</REQUEST_RESULT>
</SERVICE_APPLICATION_TIMEOUT_COMPONENT>
In this example, the Id
value - "cpn.ws.timeout.set1" - can be referenced when
defining a Web service. The settings defined by
that component are inherited. The timeout elements defined within the application's configuration,
override the inherited ones.
Parent elements
This element is a child of the COMPONENT_LIST
element.