axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: xml-axis/java/src/org/apache/axis/deployment/wsdd
Date Wed, 12 Dec 2001 18:27:41 GMT
rubys       01/12/12 10:27:41

  Modified:    java/src/org/apache/axis/deployment/wsdd Tag: alpha-3
  Submitted by:	Igor  Sedukhin <>
  As post alpha2 deployment architecture changed, I was trying to register a
  custom provider (as an alternative to registering a generic handler).
  WSDDProvider API allows me to, but there is inconsistency with the rest of
  the code: everywhere the assumption is that WSDDProvider.providers
  hashtable contains instances of WSDDProvider, the registerProvider API takes
  class, and obviously, there is no way to cast an object to a class.
  WSDDProvider.providers hashtable is also declared private, so there is no
  way around -- the API has to be fixed. The already existing static code
  block in the beginning of the validates my suggestion.
  Revision  Changes    Path
  No                   revision
  No                   revision  +2 -2      xml-axis/java/src/org/apache/axis/deployment/wsdd/
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/,v
  retrieving revision 1.14
  retrieving revision
  diff -u -r1.14 -r1.14.2.1
  ---	2001/11/13 21:08:32	1.14
  +++	2001/12/12 18:27:41
  @@ -102,9 +102,9 @@
        * @param uri XXX
        * @param _class XXX
  -    public static void registerProvider(String uri, Class _class)
  +    public static void registerProvider(QName uri, WSDDProvider prov)
  -        providers.put(uri, _class);
  +        providers.put(uri, prov);

View raw message