[AXIS2] service implementation / clustering

2005-12-16 Thread Tony Dean
Hi, I have been using the "public void init()" method of my service implemenation to perform one-time initialization. I can't remember how I stumbled across this functionality, but it would be nice for you to define an implemenation interface that describes this functionality. Maybe you have

Re: [AXIS2] service implementation / clustering

2005-12-16 Thread Davanum Srinivas
Tony, Yes, you are right. We need to clean this up. Could you please start with a JIRA? - I don't think we have an interface corresponding to the init. - Yes, it is for every operation call. - No, we don't have a destroy() AFAIK. thanks, dims On 12/16/05, Tony Dean <[EMAIL PROTECTED]> wrote: >

Re: [AXIS2] service implementation / clustering

2005-12-16 Thread Ajith Ranabahu
Hi All, The init functionality is part of the 'dependency injection' capability of the message receiver. It would be inappropriate to have an interface representing this since the service author is somewhat restricted if he is bound to an interface. It will also not be the proper dependency injecti

RE: [AXIS2] service implementation / clustering

2005-12-16 Thread Tony Dean
PMTo: axis-dev@ws.apache.org; [EMAIL PROTECTED]Subject: Re: [AXIS2] service implementation / clustering Hi All, The init functionality is part of the 'dependency injection' capability of the message receiver. It would be inappropriate to have an interface representing this since the serv

RE: [AXIS2] service implementation / clustering

2005-12-16 Thread Sanjiva Weerawarana
On Fri, 2005-12-16 at 14:20 -0500, Tony Dean wrote: > I was thinking of having something like J2EE ServiceLifecycle. > > public interface ServiceLifecycle > { > > public abstract void init(Object obj) > throws ServiceException; > > public abstract void destroy(); > } > > Suc

Re: [AXIS2] service implementation / clustering

2005-12-16 Thread Chathura Herath
+1 and i got a feeling this would come handy when we are doing the WSRF stuff. THanks Chathura On 12/17/05, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote: > On Fri, 2005-12-16 at 14:20 -0500, Tony Dean wrote: > > I was thinking of having something like J2EE ServiceLifecycle. > > > > public interfa

Re: [AXIS2] service implementation / clustering

2005-12-19 Thread Srinath Perera
+1 On 12/16/05, Chathura Herath <[EMAIL PROTECTED]> wrote: > +1 and i got a feeling this would come handy when we are doing the WSRF stuff. > THanks > Chathura > > On 12/17/05, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote: > > On Fri, 2005-12-16 at 14:20 -0500, Tony Dean wrote: > > > I was thinki

Re: [AXIS2] service implementation / clustering

2005-12-20 Thread Steve Loughran
Chathura Herath wrote: +1 and i got a feeling this would come handy when we are doing the WSRF stuff. THanks Chathura I already am doing WSRF stuff. So far: read only properties, single or bulk. Later: WS-N. I'm not sure I believe enough in the lifecycle bits to implement it, but WS-N will f