EXECUTION (under APPLICATION for JGAS)
This EXECUTION
element sets the runtime environment and execution
parameters for an application deployed with JGAS.
Syntax
<EXECUTION [
AllowUrlParameters="[
TRUE |
FALSE ]
" ]
[
CloseAllOnMainExit={
"TRUE" |
"FALSE" }
]
>
[
<ENVIRONMENT_VARIABLE></ENVIRONMENT_VARIABLE>]
[...]
[
<COMMAND></COMMAND>]
[
<PATH></PATH>]
[
<DVM></DVM>]
[
<MODULE></MODULE>]
[
<PARAMETERS>...</PARAMETERS>]
[
<UA_OUTPUT>...</UA_OUTPUT>]
[
<DELEGATE>...</DELEGATE>]
[
<WEB_COMPONENT_DIRECTORY></WEB_COMPONENT_DIRECTORY>]
</EXECUTION>
- The
AllowUrlParameters
attribute defines whether parameters set in the application URL at the command line should be ignored ("FALSE", default value) or provided to the DVM ("TRUE"). - The
CloseAllOnMainExit
attribute specifies that all child applications started by this main application are gracefully closed on exit.
Child elements
In the
JGAS the order child elements appear within the parent node is not important. The
EXECUTION
element may contain the following child elements:
- Zero to many ENVIRONMENT_VARIABLE elements.
- Zero or one COMMAND (under EXECUTION for JGAS) element.
- Zero or one PATH element.
- Zero or one DVM element.
- Zero or one MODULE element.
- Zero or one PARAMETERS element.
- Zero or one UA_OUTPUT elements. This element is used for all UI applications.
- Zero or one DELEGATE element.
- Zero or one WEB_COMPONENT_DIRECTORY element.
Usage
You use this element to set the runtime environment and execution parameters for an application.
Usage example
<EXECUTION>
<ENVIRONMENT_VARIABLE Id="FGLDIR">$(res.fgldir)</ENVIRONMENT_VARIABLE>
<PATH>$(res.deployment.path)</PATH>
<DVM>$(res.dvm.wa)</DVM>
<MODULE>myapp.42m</MODULE>
<WEB_COMPONENT_DIRECTORY>webcomponents</WEB_COMPONENT_DIRECTORY>
<ACCESS_CONTROL>
<ALLOW_FROM>$(res.access.control)</ALLOW_FROM>
</ACCESS_CONTROL>
<UA_OUTPUT>
<PUBLIC_IMAGEPATH>$(res.public.resources)</PUBLIC_IMAGEPATH>
</TIMEOUT>
<GBC>$(res.gbc)</GBC>
<GDC_SHORTCUT>$(res.deployment.root)/tpl/shortcut/gdc-http.gdc</GDC_SHORTCUT>
</UA_OUTPUT>
</DELEGATE>
</EXECUTION>
Parent elements
This element is a child of the APPLICATION (for application) element.