Declaring an Application

A JDL file should contain exactly one application definition block. In a composite data model, the application block must be placed in the main JDL file.

In the Platform context, the collector class name will be injected during the generation of the application. For this injection to succeed, the <%=collectorClass%> placeholder must be provided.

application {
   // DOM [java.collectorClass] : [<%=collectorClass%>]
 }

Any other information is ignored.

Note:

Note that the following application DOM tags are recognized:

  • [java.collectorClass] : [a class name]

  • [java.collectorInterfaces] : [list of comma-separated interface names]