[jboss-cvs] JBossAS SVN: r83804 - in projects/metadata/trunk/src/main: resources/schema and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Feb 3 04:22:08 EST 2009
Author: jeff.zhang
Date: 2009-02-03 04:22:08 -0500 (Tue, 03 Feb 2009)
New Revision: 83804
Modified:
projects/metadata/trunk/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java
projects/metadata/trunk/src/main/resources/schema/connector_1_6.xsd
Log:
[JBMEYA-176] update JCA 1.6 offical xsd file and metadata
Modified: projects/metadata/trunk/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java 2009-02-03 09:18:53 UTC (rev 83803)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java 2009-02-03 09:22:08 UTC (rev 83804)
@@ -49,6 +49,10 @@
private String value = "";
private boolean ignore;
+
+ private boolean supportsDynamicUpdates;
+
+ private boolean confidential;
/**
* Get the name
@@ -138,6 +142,28 @@
{
this.ignore = ignore;
}
+
+ @XmlElement(name="config-property-supports-dynamic-updates")
+ public void setSupportsDynamicUpdates(boolean supportsDynamicUpdates)
+ {
+ this.supportsDynamicUpdates = supportsDynamicUpdates;
+ }
+
+ public boolean isSupportsDynamicUpdates()
+ {
+ return supportsDynamicUpdates;
+ }
+
+ @XmlElement(name="config-property-confidential")
+ public void setConfidential(boolean confidential)
+ {
+ this.confidential = confidential;
+ }
+
+ public boolean isConfidential()
+ {
+ return confidential;
+ }
public String toString()
{
@@ -150,7 +176,10 @@
if (value != null)
buffer.append(" value=").append(value);
buffer.append(" ignore=").append(isIgnore());
+ buffer.append(" ignore=").append(isSupportsDynamicUpdates());
+ buffer.append(" ignore=").append(isSupportsDynamicUpdates());
buffer.append(']');
return buffer.toString();
}
+
}
Modified: projects/metadata/trunk/src/main/resources/schema/connector_1_6.xsd
===================================================================
--- projects/metadata/trunk/src/main/resources/schema/connector_1_6.xsd 2009-02-03 09:18:53 UTC (rev 83803)
+++ projects/metadata/trunk/src/main/resources/schema/connector_1_6.xsd 2009-02-03 09:22:08 UTC (rev 83804)
@@ -460,7 +460,46 @@
]]>
</xsd:documentation>
</xsd:annotation>
- </xsd:element>
+ </xsd:element>
+
+ <xsd:element name="config-property-supports-dynamic-updates" type="javaee:true-falseType"
+ minOccurs="0" maxOccurs="1">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ The element config-property-supports-dynamic-updates is used to specify
+ whether the configuration property allows its value to be updated, by
+ application server's configuration tools, during the lifetime of
+ the JavaBean instance. See the Connector specification for
+ more details. If unspecified, the container must not dynamically
+ reconfigure the property.
+ This element must be one of the following, "true" or "false".
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+
+ <xsd:element name="config-property-confidential" type="javaee:true-falseType"
+ minOccurs="0" maxOccurs="1">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ The element config-property-confidential is used to specify
+ whether the configuration property is confidential and
+ recommends application server's configuration tools to use special
+ visual aids for editing them. See the Connector specification for
+ more details. If unspecified, the container must not treat the
+ property as confidential.
+ This element must be one of the following, "true" or "false".
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+
</xsd:sequence>
<xsd:attribute name="id" type="xsd:ID"/>
@@ -662,13 +701,14 @@
maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
- The element required-work-contexts specifies a comma-separated list of
- fully qualified class names that implements WorkContext interface
- that a resource adapters requires the application server to support.
+ The element required-work-context specifies a fully qualified class
+ name that implements WorkContext interface, that the resource adapter
+ requires the application server to support.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
+
<xsd:attribute name="version"
type="javaee:dewey-versionType"
fixed="1.6"
@@ -676,16 +716,15 @@
<xsd:annotation>
<xsd:documentation>
- The version specifies the version of the
- connector architecture specification that is
- supported by this resource adapter. This information
- enables deployer to configure the resource adapter to
- support deployment and runtime requirements of the
- corresponding connector architecture specification.
-
+ The version indicates the version of the schema to be used by the
+ deployment tool. This element doesn't have a default, and the resource adapter
+ developer/deployer is required to specify it. The element allows the deployment
+ tool to choose which schema to validate the descriptor against.
+
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
+
<xsd:attribute name="metadata-complete" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
@@ -1133,4 +1172,3 @@
</xsd:complexType>
</xsd:schema>
-
More information about the jboss-cvs-commits
mailing list