[jboss-as7-dev] Should the resource name included in attribute sets?

Heiko W.Rupp hrupp at redhat.com
Thu Aug 18 09:27:45 EDT 2011


Hi,

I am currently looking at  /system-property and see

[standalone at localhost:9999 /] /system-property=foo:read-resource
{
    "outcome" => "success",
    "result" => {"value" => "hula"}
}

while /path=rhq.home (and /socket-binding-group=x:socket-binding=y) have an
attribute with the name in it.

[standalone at localhost:9999 /] /path=rhq.home:read-resource
{
    "outcome" => "success",
    "result" => {
        "name" => "rhq.home",

For RHQ configuration processing, the name attribute is helpful,
but the larger question is about consistency here. 

So should this 'name' attribute be present everywhere or be removed
everywhere?

   Heiko

-- 
Reg. Adresse: Red Hat GmbH, Technopark II, Haus C, 
Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
Handelsregister: Amtsgericht München HRB 153243
Geschaeftsführer: Brendan Lane, Charlie Peters, Michael Cunningham, Charles Cachera




More information about the jboss-as7-dev mailing list