Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 76385 invoked from network); 29 Oct 2003 20:08:59 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Oct 2003 20:08:59 -0000 Received: (qmail 59124 invoked by uid 500); 29 Oct 2003 20:08:45 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 59080 invoked by uid 500); 29 Oct 2003 20:08:45 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Delivered-To: moderator for dev@cocoon.apache.org Received: (qmail 86179 invoked from network); 29 Oct 2003 14:09:24 -0000 Date: Wed, 29 Oct 2003 14:09:20 +0000 Subject: Re: 'dispose' method of component Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Jeremy Quinn To: dev@cocoon.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: <3F9FC36A.7030908@apache.org> Message-Id: <7D5081DA-0A19-11D8-9ECD-0003935AD2EE@luminas.co.uk> X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Wednesday, October 29, 2003, at 01:40 PM, Giacomo Pati wrote: > Hi Jeremy > > Jeremy Quinn wrote: > > > >> 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