+1 from me. Interfaces defined only by implicit signatures and invoked via reflection scare me, since if I misremember the arguments or names, things fail to work with no compiler warnings. I much prefer interfaces defined by actual 'implements' declarations, which my IDE (IntelliJ IDEA) can check at edit time to warn me if I am doing something wrong.
Derek > -----Original Message----- > From: Davanum Srinivas [mailto:[EMAIL PROTECTED] > Sent: Friday, July 14, 2006 5:21 AM > To: [email protected] > Subject: Re: AW: How to access the SOAPHeader > > > +1 from me. > > On 7/14/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: > > so lets go for that , AFAIK we only need to change > DependencyManager > > to support that. > > > > Eran Chinthaka wrote: > > > > >Rodrigo Ruiz wrote: > > > > > > > > >>Mmm, yes of course. But I guess you are talking about a mandatory > > >>interface, like Remote. I am talking about an optional one, like > > >>LifeCycle. For example: > > >> > > >>public interface ContextAware { > > >> void setOperationContext(OperationContext ctx); > > >>} > > >> > > >>In this case, only those services interested in having this data > > >>will need to implement it. The rest can work just like now. > > >> > > >>Such an interface would make reflection/introspection > unnecessary, > > >>and the relationship with Axis2 more explicit. > > >> > > >> > > > > > >Hmm, now it makes sense to me :). I can remember there was a > > >discussion on the same topic some time back, on this list, but can > > >not remember what happened to it. > > > > > >What do the others think about this? Can I implement this? > > > > > >For the time being, lets leave the dependency injection for the > > >existing code to work and implement this as well. > > > > > >Comments ? > > > > > >-- Chinthaka > > > > > > > > > > > > > -- > > Thanks, > > Deepal > > ................................................................ > > ~Future is Open~ > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Davanum Srinivas : http://www.wso2.net (Oxygen for Web > Service Developers) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
