Stephen McConnell wrote:
>
>
> Nicola Ken Barozzi wrote:
>
>>
>> Nicola Ken Barozzi wrote:
>>
>>>
>>> [EMAIL PROTECTED] wrote:
>>>
>>>> donaldp 2002/09/06 02:42:35
>>>>
>>> ...
>>>
>>>> Log:
>>>> Implement BlockContext.getResourceAsStream() so that a block is
>>>> capable of
>>>> locating resources in the sar file. This method will retrieve the
>>>> resource
>>>> regardless of where it is located.
>>>> This allows blocks to aquire resources regardless of where they
>>>> are located;
>>>> * in base directory
>>>> * in work directory
>>>> * in .sar file (in future)
>>>> * in some vfs (in future)
>>>
>>>
>>>
>>>
>>> This is a non-standard implementation of a Context...
>>>
>>> -1 *if* Blocks must aquire it using a cast, because it makes them
>>> unnecessarily dependent on Phoenix. Unnecessarily since this is a
>>> general
>>> concept.
>>>
>>> This can be done also as a Service, so it gets inserted as a
>>> dependency; if it must stay in the Context, it should be gotten from
>>> the context via a key that is declared in xinfo (I propose it to be
>>> standard).
>>
>>
>>
>> I really didn't mean to veto formally, just regard this as an opinion
>> on how it could also be done...
>>
>
> In which case I'll veto this formally.
>
> -1 to the addition of BlockContext.getResourceAsStream()
>
> This is not 2 -1s on BlockContext (there is also the requestShutdown
> method addition that has not been rectified).
Correction:
There is now 2 -1s on BlockContext.
>
>
> Cheers, Steve.
>
>
--
Stephen J. McConnell
OSM SARL
digital products for a global economy
mailto:[EMAIL PROTECTED]
http://www.osm.net
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>