cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharath Ganesh" <bhar...@pramati.com>
Subject Re: org.apache.cxf.jaxws.EndpointImpl constructor
Date Wed, 24 Jan 2007 04:42:29 GMT
I have logged this issue.
https://issues.apache.org/jira/browse/CXF-389

Thanks
Bharath
http://jroller.com/page/bharath
  ----- Original Message ----- 
  From: Daniel Kulp 
  To: cxf-dev@incubator.apache.org 
  Sent: Wednesday, January 24, 2007 2:37 AM
  Subject: Re: org.apache.cxf.jaxws.EndpointImpl constructor


  On Tuesday 23 January 2007 03:57, Bharath Ganesh wrote:
  > Hi
  >
  > Currently (in M1 release) the constructor of EndpointImpl looks like
  > *public EndpointImpl(Bus b, Object implementor, JaxWsServiceFactoryBean
  > serviceFactory).*
  >
  > Instead it would be better if it takes an AbstractJaxWsServiceFactoryBean
  > instead of JaxWsServiceFactoryBean. This would be helpful for Provider
  > based endpoints to use this contructor, since JaxWsServiceFactoryBean and
  > ProviderServiceFactoryBean are subclasses of
  > AbstractJaxWsServiceFactoryBean.
  >
  > Is this possible?

  Not only possible, but definitely more "correct".   The internal field that is 
  set actually is an AbstractJaxWsServiceFactoryBean:
  private AbstractJaxWsServiceFactoryBean serviceFactory;
  .....
  this.serviceFactory = serviceFactory;


  Nothing in the constructor requires it to be the specific subclass.

  I'll go ahead and make that change. 

  Thanks!
  -- 
  J. Daniel Kulp
  Principal Engineer
  IONA
  P: 781-902-8727    C: 508-380-7194
  daniel.kulp@iona.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message