Author: sanka
Date: Tue Jan  3 10:47:38 2006
New Revision: 365707

URL: http://svn.apache.org/viewcvs?rev=365707&view=rev
Log:
Allowing the user to set the parent of PolicyRegistry

Modified:
    
webservices/commons/trunk/policy/src/org/apache/ws/policy/util/PolicyRegistry.java

Modified: 
webservices/commons/trunk/policy/src/org/apache/ws/policy/util/PolicyRegistry.java
URL: 
http://svn.apache.org/viewcvs/webservices/commons/trunk/policy/src/org/apache/ws/policy/util/PolicyRegistry.java?rev=365707&r1=365706&r2=365707&view=diff
==============================================================================
--- 
webservices/commons/trunk/policy/src/org/apache/ws/policy/util/PolicyRegistry.java
 (original)
+++ 
webservices/commons/trunk/policy/src/org/apache/ws/policy/util/PolicyRegistry.java
 Tue Jan  3 10:47:38 2006
@@ -37,6 +37,14 @@
         this.parent = parent;
     }
     
+    public void setParent(PolicyRegistry parent) {
+        this.parent = parent;
+    }
+    
+    public PolicyRegistry getParent() {
+        return parent;        
+    }
+    
     public Policy lookup (String policyURI) throws IllegalArgumentException {
         
         Policy policy =  (Policy) reg.get (policyURI);


Reply via email to