<!ELEMENT application-service (action*, suppress_errors?, enableHeavyClassloadingBeforeJavaEE5?)>

<!ELEMENT action EMPTY>
<!ATTLIST action type (beforeStart|afterStop) #REQUIRED>
<!ATTLIST action class-name CDATA #REQUIRED>
<!ATTLIST action method-name CDATA #IMPLIED>
<!ATTLIST action fatal (true|false) #IMPLIED>

<!--'suppress_errors' tag allows some errors in the process of determining the bundled libraries in the ear package to be ignored.
The following possible attributes are defined:
- 'manifest_classpath_error' - if attribute's value is 'true', then no error is rasised in cases when a package module contains a Manifest.mf with a 'classpath' property that specifies a non-existant file;
if values is false, then exception is thrown during deployment according to specification, which is the default behaviour-->
<!ELEMENT suppress_errors EMPTY>
<!ATTLIST suppress_errors manifest_classpath_error (true|false) #IMPLIED>

<!--'enableHeavyClassloadingBeforeJavaEE5' enables the heavy classloading feature for applications older than JavaEE 5 -->
<!ELEMENT enableHeavyClassloadingBeforeJavaEE5 EMPTY>