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 sc...@apache.org on 2008/05/02 18:12:34 UTC
svn commit: r652797 -
/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitBareMethodMarshaller.java
Author: scheu
Date: Fri May 2 09:12:34 2008
New Revision: 652797
URL: http://svn.apache.org/viewvc?rev=652797&view=rev
Log:
AXIS2-3775
Contributor: Takahide Nogayama
Register the fast JAXBCustomMarshaller optimziation for doc/lit bare cases.
Modified:
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitBareMethodMarshaller.java
Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitBareMethodMarshaller.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitBareMethodMarshaller.java?rev=652797&r1=652796&r2=652797&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitBareMethodMarshaller.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitBareMethodMarshaller.java Fri May 2 09:12:34 2008
@@ -81,6 +81,12 @@
MethodMarshallerUtils.getMarshalDesc(endpointDesc);
TreeSet<String> packages = marshalDesc.getPackages();
+ // Remember this unmarshal information so that we can speed up processing
+ // the next time.
+ MethodMarshallerUtils.registerUnmarshalInfo(message.getMessageContext(),
+ packages,
+ marshalDesc.getPackagesKey());
+
// Get the return value.
Class returnType = operationDesc.getResultActualType();
Object returnValue = null;
@@ -162,6 +168,12 @@
MethodMarshallerUtils.getMarshalDesc(endpointDesc);
TreeSet<String> packages = marshalDesc.getPackages();
+ // Remember this unmarshal information so that we can speed up processing
+ // the next time.
+ MethodMarshallerUtils.registerUnmarshalInfo(message.getMessageContext(),
+ packages,
+ marshalDesc.getPackagesKey());
+
// Unmarshal the ParamValues from the message
List<PDElement> pvList = MethodMarshallerUtils.getPDElements(pds,
message,
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org