dev@glassfish.java.net

Re: [arch] add a new asadmin redeploy option or reuse existing one for the new EJB feature?

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Wed, 22 Sep 2010 12:00:42 -0700

(Catching up on old email...)

Marina Vatkina wrote on 6/29/10 3:24 PM:
> Bill Shannon wrote:
>> Hong Zhang wrote on 06/29/10 09:42 AM:
>>> Hi, Shingwai
>>>> Just want a clarification.
>>>> 1. How do I know whether the --keepstate is in command line or not?
>>> If the --keepstate has the tri-state values, null/false/true, the null
>>> will mean it's not specified by the user in the command line.
>>
>> Which you specify in the command implementation code as
>>
>> @Param(optional = true, defaultValue = "false")
>> Boolean keepState;
>>
>> Note the use of Boolean vs. boolean.
>
> Won't defaultValue set the value?

Yes, it will.