<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?&nbsp; Seems like you should be able to set to a different value too.&nbsp; 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" &lt;jpai@redhat.com&gt;<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" =&gt; {<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "description" =&gt; "The instance acquisition timeout <br>unit",<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "type" =&gt; STRING,<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "required" =&gt; false,<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "default" =&gt; "MINUTES",<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "allowed" =&gt; [<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "HOURS",<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "MINUTES",<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "SECONDS",<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "MILLISECONDS"<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ],<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "access-type" =&gt; "read-only",<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "storage" =&gt; "configuration"<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<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>&gt; The model for EJB3 does allow more than one timeout unit type (SECONDS,<br>&gt; MINUTES and MILLISECONDS etc...). So that output doesn't look right. Let<br>&gt; me take a look why.<br>&gt;<br>&gt; -Jaikiran<br>&gt; On Wednesday 21 September 2011 03:53 PM, David Bosschaert wrote:<br>&gt;&gt; Hi all,<br>&gt;&gt;<br>&gt;&gt; I'm looking at the EJB3 pools timeout-unit description, which is the<br>&gt;&gt; following:<br>&gt;&gt; "timeout-unit" =&gt; &nbsp; {<br>&gt;&gt; &nbsp; &nbsp; &nbsp;"description" =&gt; &nbsp; "The instance acquisition timeout unit",<br>&gt;&gt; &nbsp; &nbsp; &nbsp;"type" =&gt; &nbsp; STRING,<br>&gt;&gt; &nbsp; &nbsp; &nbsp;"required" =&gt; &nbsp; false,<br>&gt;&gt; &nbsp; &nbsp; &nbsp;"default" =&gt; &nbsp; "MINUTES",<br>&gt;&gt; &nbsp; &nbsp; &nbsp;"allowed" =&gt; &nbsp; "MILLISECONDS",<br>&gt;&gt; &nbsp; &nbsp; &nbsp;"access-type" =&gt; &nbsp; "read-only",<br>&gt;&gt; &nbsp; &nbsp; &nbsp;"storage" =&gt; &nbsp; "configuration"<br>&gt;&gt; }<br>&gt;&gt;<br>&gt;&gt; Is there an example of an attribute somewhere where 'allowed' has more<br>&gt;&gt; than 1 value? I'd like to test a console gui piece against it.<br>&gt;&gt;<br>&gt;&gt; Thanks,<br>&gt;&gt;<br>&gt;&gt; David<br>&gt;&gt; _______________________________________________<br>&gt;&gt; jboss-as7-dev mailing list<br>&gt;&gt; jboss-as7-dev@lists.jboss.org<br>&gt;&gt; https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br>&gt;<br>&gt; _______________________________________________<br>&gt; jboss-as7-dev mailing list<br>&gt; jboss-as7-dev@lists.jboss.org<br>&gt; 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>