Let me take that back.
The client side does not have this implemented. The URI sent to the
server side does not handle multiple operands.
Sorry for the confusion.
Jane
Jane Young wrote:
> I think it's possible.
>
> Try using List instead of String array.
> @Param(primary=true)
> List<String> expr;
>
> Also, I'm wondering by assigning {"*"}, it's defining expr to be an
> one element String array. Try removing the String array assignment:
>
> @Param(primary=true)
> String[] expr;
>
> In the code, check if expr.length()=0, then default it to "*".
>
> HTH,
> Jane
>
>
> Jennifer Chou wrote:
>
>> If I recall we don't have support for mulitple *operands* right now.
>>
>> Lloyd L Chambers wrote:
>>
>>> How do I get multiple *operands* for asadmin CLI commands? It seems
>>> to "eat" all but the last operand:
>>>
>>> @Param(primary=true)
>>> String[] expr = {"*"};
>>>
>>> $ asadmin get a b c
>>> Invocation of GetCommand
>>> Parameters
>>> c
>>> AMXCommand "get" executed successfully at: Tue Jun 24 15:56:40 PDT 2008
>>>
>>> Command get executed successfully.
>>>
>>> ---
>>> Lloyd L Chambers
>>> lloyd.chambers_at_sun.com
>>> Sun Microsystems, Inc
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>