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
signature.asc
Description: OpenPGP digital signature
