cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@luminas.co.uk>
Subject Re: 'dispose' method of component
Date Wed, 29 Oct 2003 14:09:20 GMT

On Wednesday, October 29, 2003, at 01:40 PM, Giacomo Pati wrote:

> Hi Jeremy
>
> Jeremy Quinn wrote:
>
> <snipped>
>
>> public class HibernateFactory
>>   extends AbstractLogEnabled
>>   implements PersistanceFactory, Configurable, Serviceable,  
>> Initializable, Disposable, ThreadSafe
>
> IIRC ThreadSafe components are disposed only when the ComponentManager 
> is disposed (read shutdown of jetty). The counterpart interface of 
> Disposable is Initializable which is called once during the life time 
> of the component as with the Disposable.

Thanks for your clarification.

So is it possible to have a method called on my component when :

	cocoon.releaseComponent (component)

is called on it?

Thanks for your help

regards Jeremy


Mime
View raw message