Oops. See below. > -----Original Message----- > From: Steve Brewin [mailto:[EMAIL PROTECTED] > Sent: 15 July 2003 10:45 > To: 'James Users List' > Subject: RE: mailet service & destroy > > > > > Can I assume that in a mailet lifecycle, service() and > destroy() are > > mutually exclusive? > > Yes, init() too. > > -- Steve
Sorry, I take that back. The mailet methods are triggered by the Avalon lifecycle methods. The Avalon docs. only mention the order of the lifecycle methods, not their concurrency. So it isn't safe to assume that an Avalon container will wait for a lifecycle method to return before invoking another one. As Noel pointed out, there is nothing extra in James to ensure that service() and destroy() are processed consecutively. So, my first reply 100% wrong! -- Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]