[jboss-as7-dev] Consolidation of properties
Heiko Braun
hbraun at redhat.com
Wed May 18 09:41:20 EDT 2011
side-effect:
- for people only considering the AS7 config: a single way to deal with properties across the configuration.
- slight change for people who are used to configure standalone projects (i.e. picket link, osgi, ironjacamar)
Ike
On May 18, 2011, at 3:26 PM, Bruno Georges wrote:
> What will be the side-effect of such consolidation, end-user ?
> On 18 May 2011, at 20:57, Brian Stansberry wrote:
>
>> It's a domain-mode thing (not part of the model for a server, just in
>> the domain and host model).
>>
>> It controls whether the HostController passes the value to the server
>> via the command line (-D) when it starts the server, or waits and passes
>> it along with all the other management ops the server executes after
>> boot to configure itself.
>>
>> Default is "true"; the "false" value exists to provide a way out in case
>> the command line needed to start the server is too long. I expect it
>> will be little used.
>>
>> On 5/18/11 7:50 AM, ssilvert at redhat.com wrote:
>>> What does boot-time mean for this?
>>>
>>> Quoting Brian Stansberry<brian.stansberry at redhat.com>:
>>>
>>>> Because their full representation is:
>>>>
>>>> "system-property" => {
>>>> "foo" => {
>>>> "value" => "bar",
>>>> "boot-time" => true
>>>> },
>>>> "key" => {
>>>> "value" => "value",
>>>> "boot-time" => false
>>>> }
>>>> }
>>>>
>>>> They are also proper resources in the model now rather than being an
>>>> attribute of some parent of type LIST. So they are manipulated via the
>>>> standard "add", "remove", "write-attribute" operations instead of
>>>> requiring custom operations "add-system-property"
>>>> "remove-system-property". Resources are always represented in the model
>>>> a ModelType.OBJECT, not just a simple primitive value.
>>>>
>>>> On 5/18/11 6:30 AM, Heiko W.Rupp wrote:
>>>>>
>>>>> Am 18.05.2011 um 13:24 schrieb Kabir Khan:
>>>>>
>>>>>> "system-property" => {
>>>>>> "foo" => {"value" => "bar"},
>>>>>> "key" => {"value" => "value"}
>>>>>
>>>>> Why the extra "value=>" ? They are already grouped below
>>>>> "system-property" and would directly be a map
>>>>>
>>>>>> "system-property" => {
>>>>>> "foo" =>"bar",
>>>>>> "key" => "value"
>>>>>> }
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> jboss-as7-dev mailing list
>>>>> jboss-as7-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>
>>>>
>>>> --
>>>> Brian Stansberry
>>>> Principal Software Engineer
>>>> JBoss by Red Hat
>>>> _______________________________________________
>>>> jboss-as7-dev mailing list
>>>> jboss-as7-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
>>
>> --
>> Brian Stansberry
>> Principal Software Engineer
>> JBoss by Red Hat
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
More information about the jboss-as7-dev
mailing list