You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2003/03/02 21:21:36 UTC
cvs commit: xml-axis/java/src/org/apache/axis/encoding TypeMappingRegistryImpl.java
dims 2003/03/02 12:21:35
Modified: java/src/org/apache/axis/encoding
TypeMappingRegistryImpl.java
Log:
Fix for Bug 17285 - JavaDoc comments on org.apache.axis.encoding.TypeMappingRegistryImpl
Revision Changes Path
1.22 +8 -4 xml-axis/java/src/org/apache/axis/encoding/TypeMappingRegistryImpl.java
Index: TypeMappingRegistryImpl.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/TypeMappingRegistryImpl.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- TypeMappingRegistryImpl.java 11 Dec 2002 22:38:14 -0000 1.21
+++ TypeMappingRegistryImpl.java 2 Mar 2003 20:21:35 -0000 1.22
@@ -80,43 +80,46 @@
* the default type mapping when information is not found.
*
* So logically we have:
- *
+ * <pre>
* TMR
* | |
* | +---------------> DefaultTM
* | ^
* | |
* +----> TM --delegate---+
- *
+ * </pre>
*
* But in the implementation, the TMR references
* "delegate" TypeMappings (TM') which then reference the actual TM's
*
* So the picture is really:
+ * <pre>
* TMR
* | |
* | +-----------TM'------> DefaultTM
* | ^
* | |
* +-TM'-> TM ----+
+ * </pre>
*
* This extra indirection is necessary because the user may want to
* change the default type mapping. In such cases, the TMR
* just needs to adjust the TM' for the DefaultTM, and all of the
* other TMs will properly delegate to the new one. Here's the picture:
- *
+ * <pre>
* TMR
* | |
* | +-----------TM'--+ DefaultTM
* | ^ |
* | | +---> New User Defined Default TM
* +-TM'-> TM ----+
+ * </pre>
*
* The other reason that it is necessary is when a deploy
* has a TMR, and then TMR's are defined for the individual services
* in such cases the delegate() method is invoked on the service
* to delegate to the deploy TMR
- *
+ * <pre>
* Deploy TMR
* | |
* | +-----------TM'------> DefaultTM
@@ -150,6 +153,7 @@
* | +-TM'-> TM +
* | |
* +----------------+
+ * </pre>
*
* So now the service uses the DefaultTM of the Deploy TMR, and
* the Service TM properly delegates to the deploy's TM. And