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: [email protected] 
  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
  [EMAIL PROTECTED]

Reply via email to