I think the one that is an attribute of the attribute element is a leftover
from the xmbean implementation in Juha's book, later replaced with the
"default" element in the descriptors.

david jencks

On 2003.03.29 16:41 Scott M Stark wrote:
> There are two "default" values in an xmbean attribute declaration, one of
> which appears to be ignored. For this attribute:
> 
>    <attribute access="read-only" default="3.14159">
>       <description>Pi is a read-only attribute added at the metadata
> level
>          for which there is no state in the User2 instance.
>       </description>
>       <name>Pi</name>
>       <type>double</type>
>       <descriptors>
>          <currencyTimeLimit value="-1"/>
>          <default value="3.14159"/>
>       </descriptors>
>    </attribute>
> 
> only the <default value="3.14159"/> in the descriptors results in the
> attribute
> having a value that is accessible via a getAttribute call on the mbean
> server. What
> is the purpose of the default attribute in the attribute element?
> 
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to