I think that is an interesting feature and we can do that by either with or without an explicit method in the Registry. What we need to do is get the Properties of the registry (which returns a Map) and set each and every property value to null and then call the getProperty method. This can be done without an explicit method in the interface.
But if there is no restriction on the interface I also think it is better to have that method in the interface level..... and as Asankha said we can have an admin service to call this method... (I think it is better to have a refreshCache method in the Property class as well so that the registries corresponding method can call that property method)
Thanks,
Ruwan
On 10/12/06, Paul Fremantle <[EMAIL PROTECTED]> wrote:
Yes
I think we also need an explicit method on the registry interface to
signal "clear cache".
Paul
On 10/11/06, Asankha C. Perera <[EMAIL PROTECTED] > wrote:
>
> Paul
>
> What if we write an admin service/management interface to manage the
> Synapse runtime, I think we can do this as well as quite a few more tricks.
> So once an authenticated user sends this particular service a request to
> clear the registry cache, it can access the synapse configuration and do
> whats necessary...
>
> asankha
>
> Paul Fremantle wrote:
> I just presented Synapse at ApacheCon (attached). One of the attendees
> asked if we can allow him to explicitly refresh the registry cache.
>
> Paul
>
> ________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED] For additional
> commands, e-mail: [EMAIL PROTECTED]
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
