You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andreas Hartmann <an...@apache.org> on 2004/02/21 11:59:17 UTC

[Flow] Releasing components

Hi Cocoon community,

I just took a look at the cron block sample.
It obtains a component:

cocoon.getComponent(Packages.org.apache.cocoon.components.cron.JobScheduler.ROLE);

but I can't find the place where it is released.
Is this done automatically now?

Thanks in advance!

-- Andreas


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


Re: [Flow] Releasing components

Posted by Geoff Howard <co...@leverageweb.com>.
Andreas Hartmann wrote:

> Hi Cocoon community,
>
> I just took a look at the cron block sample.
> It obtains a component:
>
> cocoon.getComponent(Packages.org.apache.cocoon.components.cron.JobScheduler.ROLE); 
>
>
> but I can't find the place where it is released.
> Is this done automatically now?


Not (yet?) done automatically.  Use 
cocoon.releaseComponent(componentVar).  See 
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=107708176218215&w=2

Geoff

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