cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Fagerstrom <dani...@nada.kth.se>
Subject Re: Postable source and servlet services problem
Date Thu, 15 Feb 2007 16:57:51 GMT
Grzegorz Kossakowski skrev:
...
>  I see two possible solutions:
> 1. Pulling up the service caller to the pipeline level, it would mean 
> introducing some new sitemap syntax/element. I'm not happy with this 
> one so I'm not going to discuss details.
> 2. Introducing new interface like CacheableKeyAwareProcessingComponent 
> that could have these methods:
>
> Serializable getKey();
> SourceValidity getValidity(Serializable aggregatedKeys);
>
> It could be very easy to change pipeline code to make them use new 
> interface if component really implements it. One could say that it's 
> kind of hack, but I have no better option now.
I agree with your analysis and also think that alternative 2 is the way 
to go.

/Daniel


Mime
View raw message