You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2007/06/18 11:55:47 UTC

svn commit: r548275 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/PolicyInclude.java

Author: sanka
Date: Mon Jun 18 02:55:46 2007
New Revision: 548275

URL: http://svn.apache.org/viewvc?view=rev&rev=548275
Log:
Fixed: AXIS2-2739.


Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/PolicyInclude.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/PolicyInclude.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/PolicyInclude.java?view=diff&rev=548275&r1=548274&r2=548275
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/PolicyInclude.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/PolicyInclude.java Mon Jun 18 02:55:46 2007
@@ -17,6 +17,7 @@
 package org.apache.axis2.description;
 
 import org.apache.axiom.om.util.UUIDGenerator;
+import org.apache.axis2.util.AxisPolicyLocator;
 import org.apache.neethi.Policy;
 import org.apache.neethi.PolicyReference;
 import org.apache.neethi.PolicyRegistry;
@@ -155,9 +156,9 @@
             Policy p;
 
             if (policyElement instanceof PolicyReference) {
-                PolicyRegistry r = getPolicyRegistry();
+                AxisPolicyLocator locator = new AxisPolicyLocator(description);
                 p = (Policy) ((PolicyReference) policyElement)
-                        .normalize(getPolicyRegistry(), false);
+                        .normalize(locator, false);
 
             } else if (policyElement instanceof Policy) {
                 p = (Policy) policyElement;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org