geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-896) Support additional properties for GBean Names without providing full ObjectName
Date Sun, 21 Aug 2005 21:49:53 GMT
Support additional properties for GBean Names without providing full ObjectName
-------------------------------------------------------------------------------

         Key: GERONIMO-896
         URL: http://issues.apache.org/jira/browse/GERONIMO-896
     Project: Geronimo
        Type: Improvement
  Components: kernel  
    Versions: 1.0-M5    
    Reporter: Aaron Mulder
     Fix For: 1.0


Let's say I want my ObjectName for a GBean to be totally standard except for an additional
"parent=parentName" property.  (This is true for network connectors that want to say what
container they apply to.)

I would like to be able to do this in my plan:

<gbean name="foo" extraProperties="parent=bar" class="...">

Currently, in order to add anything to the standard properties, I need to provide the full
ObjectName like this:

<gbean gbeanName="domain:key=value,key=value,...,parent=bar" class="...">

It would be nice to avoid spelling all that out since it's all default values and I just have
one new one to add.

An alternative might be to have standard support for "parent=foo" since many GBeans (both
JSR-77 and otherwise) need to indicate what their parent is, though this would require more
logic and standardization around determining the key to use to represent "parent".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message