axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: setEngineConfiguration
Date Mon, 17 Mar 2003 16:19:37 GMT
What's the actual problem? (for which you need to call setEngineConfiguration)

Thanks,
dims
--- Daniel Elenius <danel698@student.liu.se> wrote:
> In org.apache.axis.client.Service, there's a method called
> setEngineConfiguration(). I need something like this, but the problem,
> as pointed out in the comments to the method, is that the engine
> configuration is already set by all the constructors. How can I get
> around this problem without adding more constructors with an extra
> config parameter? Is there a solution planned for this?
> 
> /Daniel
> 
> 
> /**
>  * Set this Service's engine configuration.
>  *
>  * Note that since all of the constructors create the AxisClient right
>  * now, this is basically a no-op.  Putting it in now so that we can
> make
>  * lazy engine instantiation work, and not have to duplicate every
> single
>  * Service constructor with a EngineConfiguration argument.
>  *
>  * @param config the EngineConfiguration we want to use.
>  */
>  public void setEngineConfiguration(EngineConfiguration config) {
>      this.config = config;
>  }
> 
> 
> -- 
> Daniel Elenius <danel698@student.liu.se>
> 


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

Mime
View raw message