geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@iq80.com>
Subject Re: [jira] Reopened: (GERONIMO-254) ServerInfo is too darned useful
Date Tue, 26 Jul 2005 23:07:21 GMT
Please don't reopen.  I find these placeholder issues annoying and  
misleading.  If you have specific improvement, then open a new issue.

On this specific issue, Spring solved this by allowing an attribute  
value to be the result of invoking another bean.  So we would have  
something like this:

<property name="someDir">
     <invoke service="ServerInfo" method="resolve">
         <parameter index="0">var/mydir</parameter>
     </invoke>
</property>

BTW I just made up this xml, but you get the idea.  Instead of  
storing a specific attribute value, you tell the container to invoke  
another bean and use the return value for the property value.

-dain

On Jul 26, 2005, at 3:43 PM, Jeremy Boynes (JIRA) wrote:

>      [ http://issues.apache.org/jira/browse/GERONIMO-254?page=all ]
>
> Jeremy Boynes reopened GERONIMO-254:
> ------------------------------------
>
>
> Reopened as a placeholder until we know what the "root cause" is.  
> Perhaps then we can close this and link to the issue that is fixing  
> that problem.
>
>
>> ServerInfo is too darned useful
>> -------------------------------
>>
>>          Key: GERONIMO-254
>>          URL: http://issues.apache.org/jira/browse/GERONIMO-254
>>      Project: Geronimo
>>         Type: Improvement
>>   Components: general
>>     Versions: 1.0-M2
>>     Reporter: Jeremy Boynes
>>     Assignee: Dain Sundstrom
>>     Priority: Minor
>>
>
>
>>
>> This GBean provides information on the system including the  
>> location of the install which is used to find data files. The  
>> location itself is transient (so installs can be moved) but needs  
>> to be injected early.
>> It seems reasonable to have a reference to this available by  
>> magic, which means moving it to the kernel.
>>
>
> -- 
> 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