jboss-as-deployment-scanner_1_0.xsd 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!--
  3. ~ JBoss, Home of Professional Open Source.
  4. ~ Copyright 2011, Red Hat, Inc., and individual contributors
  5. ~ as indicated by the @author tags. See the copyright.txt file in the
  6. ~ distribution for a full listing of individual contributors.
  7. ~
  8. ~ This is free software; you can redistribute it and/or modify it
  9. ~ under the terms of the GNU Lesser General Public License as
  10. ~ published by the Free Software Foundation; either version 2.1 of
  11. ~ the License, or (at your option) any later version.
  12. ~
  13. ~ This software is distributed in the hope that it will be useful,
  14. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. ~ Lesser General Public License for more details.
  17. ~
  18. ~ You should have received a copy of the GNU Lesser General Public
  19. ~ License along with this software; if not, write to the Free
  20. ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  21. ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  22. -->
  23. <xs:schema xmlns="urn:jboss:domain:deployment-scanner:1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="urn:jboss:domain:deployment-scanner:1.0" version="1.0">
  24. <!-- The threads subsystem root element -->
  25. <xs:element name="subsystem" type="subsystem"/>
  26. <xs:complexType name="subsystem">
  27. <xs:annotation>
  28. <xs:documentation>
  29. <![CDATA[
  30. The filesystem deployment scanner subsystem configuration.
  31. ]]>
  32. </xs:documentation>
  33. </xs:annotation>
  34. <xs:choice maxOccurs="unbounded" minOccurs="0">
  35. <xs:element maxOccurs="unbounded" minOccurs="0" name="deployment-scanner" type="standalone-deployment-scanner-type"/>
  36. </xs:choice>
  37. </xs:complexType>
  38. <xs:complexType name="standalone-deployment-scanner-type">
  39. <xs:annotation>
  40. <xs:documentation>Allows configuration of an additional location where deployment
  41. content can be stored.
  42. </xs:documentation>
  43. </xs:annotation>
  44. <xs:attribute default="default" name="name" type="xs:string" use="optional"/>
  45. <xs:attribute name="relative-to" type="xs:string" use="optional">
  46. <xs:annotation>
  47. <xs:documentation>Reference to a filesystem path defined in the "paths" section
  48. of the server configuration.
  49. </xs:documentation>
  50. </xs:annotation>
  51. </xs:attribute>
  52. <xs:attribute name="path" use="required">
  53. <xs:annotation>
  54. <xs:documentation>The actual filesystem path. Treated as an absolute path, unless the
  55. 'relative-to' attribute is specified, in which case the value
  56. is treated as relative to that path.
  57. </xs:documentation>
  58. </xs:annotation>
  59. </xs:attribute>
  60. <xs:attribute default="0" name="scan-interval" type="xs:int" use="optional">
  61. <xs:annotation>
  62. <xs:documentation>Periodic interval, in milliseconds, at which the repository
  63. should be scanned for changes. A value of less than 1 indicates the
  64. repository should only be scanned at initial startup.
  65. </xs:documentation>
  66. </xs:annotation>
  67. </xs:attribute>
  68. <xs:attribute default="true" name="scan-enabled" type="xs:boolean" use="optional">
  69. <xs:annotation>
  70. <xs:documentation>
  71. Flag indicating that all scanning (including initial scanning at startup)
  72. should be disabled.
  73. </xs:documentation>
  74. </xs:annotation>
  75. </xs:attribute>
  76. <xs:attribute default="true" name="auto-deploy-zipped" type="xs:boolean" use="optional">
  77. <xs:annotation>
  78. <xs:documentation>
  79. Controls whether zipped deployment content should be automatically deployed by
  80. the scanner without requiring the user to add a .dodeploy marker file.
  81. </xs:documentation>
  82. </xs:annotation>
  83. </xs:attribute>
  84. <xs:attribute default="false" name="auto-deploy-exploded" type="xs:boolean" use="optional">
  85. <xs:annotation>
  86. <xs:documentation>
  87. Controls whether zipped deployment content should be automatically deployed by
  88. the scanner without requiring the user to add a .dodeploy marker file. Setting
  89. this to 'true' is not recommended for anything but basic development scenarios,
  90. as there is no way to ensure that deployment will not occur in the middle of
  91. changes to the content.
  92. </xs:documentation>
  93. </xs:annotation>
  94. </xs:attribute>
  95. <xs:attribute default="60" name="deployment-timeout" type="xs:int" use="optional">
  96. <xs:annotation>
  97. <xs:documentation>
  98. Timout used. in seconds, for deployment operations. If an individual deployment operation
  99. takes longer than this timeout it will be canceled and marked as failed.
  100. </xs:documentation>
  101. </xs:annotation>
  102. </xs:attribute>
  103. </xs:complexType>
  104. </xs:schema>