[JBoss-dev] What is the diff between the two xmbean default settings

2003-03-29 Thread Scott M Stark
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
  descriptionPi is a read-only attribute added at the metadata level
 for which there is no state in the User2 instance.
  /description
  namePi/name
  typedouble/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?


Scott Stark
Chief Technology Officer
JBoss Group, LLC



---
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


Re: [JBoss-dev] What is the diff between the two xmbean default settings

2003-03-29 Thread David Jencks
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
   descriptionPi is a read-only attribute added at the metadata
 level
  for which there is no state in the User2 instance.
   /description
   namePi/name
   typedouble/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?
 
 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 
 
 
 ---
 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


Re: [JBoss-dev] What is the diff between the two xmbean default settings

2003-03-29 Thread Scott M Stark
Ok, its not used anywhere in the code so I dropped it from the dtd.


Scott Stark
Chief Technology Officer
JBoss Group, LLC


- Original Message - 
From: David Jencks [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 7:06 PM
Subject: Re: [JBoss-dev] What is the diff between the two xmbean default settings


 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



---
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