Difference between revisions of "GVJavaScriptConfig"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "==Description== GVJavaScriptConfig (Description?, JavaScriptInitializers)> <!-- Element type 'module'. --> <!ATTLIST GVJavaScriptConfig type CDATA #FIXED "module"> <!...")
 
Line 1: Line 1:
==Description==
+
=={{GVESB}} Configuration==
  
GVJavaScriptConfig (Description?, JavaScriptInitializers)>
+
The following table shows the GVJavaScriptConfig element's attributes:
<!--
+
{|class="gvtable"
    Element type 'module'.
+
! Attribute !! Type !! Description
-->
+
|-
<!ATTLIST GVJavaScriptConfig type    CDATA  #FIXED  "module">
+
| type || fixed || This attribute must assume the value '''module'''
<!--
+
|-
    Module id always set to 'JAVASCRIPT'.
+
| name || fixed || This attribute must assume the value '''JAVASCRIPT'''
-->
+
|}
<!ATTLIST GVJavaScriptConfig name    CDATA  #FIXED  "JAVASCRIPT">
 
  
<!--
+
GVJavaScriptConfig contains the sub-elements:
    Defines the scope initializers.
+
* [[Description]]
 +
* [[#JavaScriptInitializers|JavaScriptInitializers]]
  
-->
+
===JavaScriptInitializers===
<!ELEMENT JavaScriptInitializers (Description?, (%jsinits;)*)>
 
  
<!--
+
This element defines the scope initializers.
    Basic Initializer.
 
  
    #Label: @name
+
JavaScriptInitializers contains the following sub-elements:
-->
+
* [[Description]]
<!ELEMENT BasicJSInit (Description?, Script?)>
+
* [[#BasicJSInit|BasicJSInit]]
<!--
 
    Unmodifiable.
 
    Used by GreenVulcanoESB factory framework.
 
-->
 
<!ATTLIST BasicJSInit type        CDATA #FIXED "jsinit">
 
<!--
 
    Unmodifiable.
 
    Used by GreenVulcanoESB factory framework.
 
-->
 
<!ATTLIST BasicJSInit class        CDATA #FIXED "it.greenvulcano.js.initializer.BasicJSInit">
 
  
<!--
+
====BasicJSInit====
    Initializer name.
 
  
    #NotNull
+
Each element BasicJSInit defines the Basic Initializer.
    #Unique: ../*[@type='jsinit']/@name
+
Might contain the sub-element:
-->
+
* [[Description]]
<!ATTLIST BasicJSInit name        CDATA #REQUIRED>
+
* [[#Script|Script]]
  
<!--
+
The following table shows the BasicJSInit element's attributes:
    This attribute is the file name cointaining the script to execute to initialize the scope.
+
{|class="gvtable"
    This script is executed before the one contained in the element Script.
+
! Attribute !! Type !! Description
 
+
|-
    #NotNull
+
| type || fixed || This attribute must assume the value '''jsinit'''
-->
+
|-
<!ATTLIST BasicJSInit  script-file CDATA #IMPLIED>
+
| class || fixed || This attribute must assume the value '''it.greenvulcano.js.initializer.BasicJSInit'''
 +
|-
 +
| name || required || Initializer name.
 +
|-
 +
This script is executed before the one contained in the element Script.
 +
|}

Revision as of 17:27, 6 March 2012

GreenVulcano® ESB Configuration

The following table shows the GVJavaScriptConfig element's attributes:

Attribute Type Description
type fixed This attribute must assume the value module
name fixed This attribute must assume the value JAVASCRIPT

GVJavaScriptConfig contains the sub-elements:

JavaScriptInitializers

This element defines the scope initializers.

JavaScriptInitializers contains the following sub-elements:

BasicJSInit

Each element BasicJSInit defines the Basic Initializer. Might contain the sub-element:

The following table shows the BasicJSInit element's attributes:

This script is executed before the one contained in the element Script.
Attribute Type Description
type fixed This attribute must assume the value jsinit
class fixed This attribute must assume the value it.greenvulcano.js.initializer.BasicJSInit
name required Initializer name.