avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hammant <Paul_Hamm...@yahoo.com>
Subject Re: shutdown phoenix gracefully
Date Sat, 31 Aug 2002 12:14:55 GMT
Peter,

>>requestShutdown();
>>
>>   --> we can't be accused of not thinking about this one carefully
>>(conversation started in Feb).
>>
>>How difficult will it be to fit permissions (environment.xml) onto this
>>given multiple containers?
>>
>>      <revoke code-base="sar:SAR-INF/lib/*">
>>        <permission
>>class="org.apache.avalon.somepackage.AppShutdownViaBlockPermission" />
>>      </revoke>
>>    
>>
>
>Granting permissions are easy to implement (revoking is a PITA unless JDK1.4 
>specific) but I am not sure they are necessary. The accompanying javadoc 
>indicates that it is just a request and need not be honored by the container. 
>  
>
So basically, the advice would be to grant a specific set of rights for 
the app (when All is not good enough).

It is a shame that it is not like Ant's <include> <exclude> model. 
 Methinks, I may be shot down for holding that up as a good design!!

- Paul



--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message