axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal jayasinghe <>
Subject Re: [axis2] AxisConfiguration.getService() and inactive services
Date Wed, 20 May 2009 00:10:06 GMT
Yes, there is a difference. One method is for management other method is
for dispatching.
So at the runtime when a message receive we call getService, and if we
want to activate, inactivate we call other method.

So please do not remove the method.

> Hi y'all:
> So I'm cleaning up a little code and javadoc, and happened to come across
> AxisConfiguration.getService()... which *throws an Exception* if you ask for
> an inactive service.
> ...which is why we have a second method called "getServiceForActivation()"
> that simply avoids the check and the exception.
> Does this make sense?  Why?
> --Glen

Thank you!

View raw message