cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [PROPOSAL] Changing Source interface
Date Sun, 19 Aug 2001 02:21:18 GMT
Vadim Gritsenko wrote:
> 
> Hi,
> 
> One more change is required in Source interface as it exist now.
> 
> Problem:
>    <map:match pattern="hello.xsl">
>     <map:generate src="stylesheets/page/simple-page2html.xsl"/>
>     <map:serialize type="xml"/>
>    </map:match>
>    <map:match pattern="hello.html">
>     <map:generate src="docs/samples/hello-page.xml"/>
>     <map:transform src="cocoon:/hello.xsl"/>
>     <map:serialize type="html"/>
>    </map:match>
> Pipeline assembled by SitemapSource is never released as TraxTransformer in its'
> recycle method just nullifies reference.
> 
> Proposed solution:
> Step 1: Source interface must have some method like recycle(), but it is not a component,
> so may be we should use other method name, like release().

The Recyclable interface is for any object--not just components!

> Step 2: Enforce usage of this method in all users of Source interface.
> 
> Comments?
> 
> Thanks,
> Vadim
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message