<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>Why is it read-only? Seems like you should be able to set to a different value too. Another bug?<br><br>Andy<br><br><hr id="zwchr"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Jaikiran Pai" <jpai@redhat.com><br><b>To: </b>jboss-as7-dev@lists.jboss.org<br><b>Sent: </b>Wednesday, September 21, 2011 4:39:34 AM<br><b>Subject: </b>Re: [jboss-as7-dev] [Detyped API Description] Example of multiple values for "allowed"?<br><br>It's a bug. It should actually look like:<br><br>"timeout-unit" => {<br> "description" => "The instance acquisition timeout <br>unit",<br> "type" => STRING,<br> "required" => false,<br> "default" => "MINUTES",<br> "allowed" => [<br> "HOURS",<br> "MINUTES",<br> "SECONDS",<br> "MILLISECONDS"<br> ],<br> "access-type" => "read-only",<br> "storage" => "configuration"<br> }<br><br><br>I'll send a pull request with the fix.<br><br>-Jaikiran<br>On Wednesday 21 September 2011 04:02 PM, Jaikiran Pai wrote:<br>> The model for EJB3 does allow more than one timeout unit type (SECONDS,<br>> MINUTES and MILLISECONDS etc...). So that output doesn't look right. Let<br>> me take a look why.<br>><br>> -Jaikiran<br>> On Wednesday 21 September 2011 03:53 PM, David Bosschaert wrote:<br>>> Hi all,<br>>><br>>> I'm looking at the EJB3 pools timeout-unit description, which is the<br>>> following:<br>>> "timeout-unit" => {<br>>> "description" => "The instance acquisition timeout unit",<br>>> "type" => STRING,<br>>> "required" => false,<br>>> "default" => "MINUTES",<br>>> "allowed" => "MILLISECONDS",<br>>> "access-type" => "read-only",<br>>> "storage" => "configuration"<br>>> }<br>>><br>>> Is there an example of an attribute somewhere where 'allowed' has more<br>>> than 1 value? I'd like to test a console gui piece against it.<br>>><br>>> Thanks,<br>>><br>>> David<br>>> _______________________________________________<br>>> jboss-as7-dev mailing list<br>>> jboss-as7-dev@lists.jboss.org<br>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br>><br>> _______________________________________________<br>> jboss-as7-dev mailing list<br>> jboss-as7-dev@lists.jboss.org<br>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br><br>_______________________________________________<br>jboss-as7-dev mailing list<br>jboss-as7-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br></blockquote><br></div></body></html>