geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject svn commit: r171314 - /geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisServiceBuilder.java
Date Sun, 22 May 2005 13:32:46 GMT
Author: gdamour
Date: Sun May 22 06:32:44 2005
New Revision: 171314

URL: http://svn.apache.org/viewcvs?rev=171314&view=rev
Log:
Perform type mapping registration and operation introspection during 
deployment. This way, one does not need to perform the operation introspection
step at each start-up.

Modified:
    geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisServiceBuilder.java

Modified: geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisServiceBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisServiceBuilder.java?rev=171314&r1=171313&r2=171314&view=diff
==============================================================================
--- geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisServiceBuilder.java
(original)
+++ geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisServiceBuilder.java
Sun May 22 06:32:44 2005
@@ -182,7 +182,12 @@
             HeavyweightTypeInfoBuilder builder = new HeavyweightTypeInfoBuilder(classLoader,
schemaTypeKeyToSchemaTypeMap, wrapperElementQNames, operations, hasEncoded);
             typeInfo = builder.buildTypeInfo(portInfo.getJavaWsdlMapping());
         }
-
+        
+        // We register type mappings and invoke serviceDesc.getOperations to trigger an introspection
of the 
+        // operations. By doing these operations during deployment, no introspection is required
during runtime.
+        TypeInfo.register(typeInfo, typeMapping);
+        serviceDesc.getOperations();
+        
         return new ReadOnlyServiceDesc(serviceDesc, typeInfo);
     }
 



Mime
View raw message