cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1221875 - in /cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy: EffectivePolicyImpl.java EndpointPolicyImpl.java
Date Wed, 21 Dec 2011 20:53:16 GMT
Author: dkulp
Date: Wed Dec 21 20:53:15 2011
New Revision: 1221875

URL: http://svn.apache.org/viewvc?rev=1221875&view=rev
Log:
[CXF-3990] Make a few methods public in the policy engine to make it
easier to extend or augment the policy decissions

Patch from Andrei Shakirin applied

Modified:
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EffectivePolicyImpl.java
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EndpointPolicyImpl.java

Modified: cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EffectivePolicyImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EffectivePolicyImpl.java?rev=1221875&r1=1221874&r2=1221875&view=diff
==============================================================================
--- cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EffectivePolicyImpl.java
(original)
+++ cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EffectivePolicyImpl.java
Wed Dec 21 20:53:15 2011
@@ -69,8 +69,7 @@ public class EffectivePolicyImpl impleme
         return chosenAlternative;
     }
     
-    
-    void initialise(EndpointPolicyImpl epi, PolicyEngineImpl engine, boolean inbound) {
+    public void initialise(EndpointPolicyImpl epi, PolicyEngineImpl engine, boolean inbound)
{
         policy = epi.getPolicy();
         chosenAlternative = epi.getChosenAlternative();
         if (chosenAlternative == null) {
@@ -79,7 +78,7 @@ public class EffectivePolicyImpl impleme
         initialiseInterceptors(engine, inbound);  
     }
     
-    void initialise(EndpointInfo ei, 
+    public void initialise(EndpointInfo ei, 
                     BindingOperationInfo boi, 
                     PolicyEngineImpl engine, 
                     Assertor assertor,
@@ -89,7 +88,8 @@ public class EffectivePolicyImpl impleme
         chooseAlternative(engine, assertor);
         initialiseInterceptors(engine, false);  
     }
-    void initialise(EndpointInfo ei, 
+    
+    public void initialise(EndpointInfo ei, 
                     BindingOperationInfo boi, 
                     PolicyEngineImpl engine, 
                     Assertor assertor,
@@ -100,7 +100,8 @@ public class EffectivePolicyImpl impleme
         chooseAlternative(engine, assertor, incoming);
         initialiseInterceptors(engine, false);  
     }
-    void initialise(EndpointInfo ei, 
+    
+    public void initialise(EndpointInfo ei, 
                     BindingOperationInfo boi, 
                     PolicyEngineImpl engine, 
                     boolean requestor, boolean request) {
@@ -109,7 +110,7 @@ public class EffectivePolicyImpl impleme
         initialiseInterceptors(engine, requestor);  
     }
     
-    void initialise(EndpointInfo ei, 
+    public void initialise(EndpointInfo ei, 
                     BindingOperationInfo boi, 
                     BindingFaultInfo bfi, 
                     PolicyEngineImpl engine, 

Modified: cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EndpointPolicyImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EndpointPolicyImpl.java?rev=1221875&r1=1221874&r2=1221875&view=diff
==============================================================================
--- cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EndpointPolicyImpl.java
(original)
+++ cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EndpointPolicyImpl.java
Wed Dec 21 20:53:15 2011
@@ -135,7 +135,7 @@ public class EndpointPolicyImpl implemen
         return faultInterceptors;
     }
     
-    void initialize() {
+    public void initialize() {
         initializePolicy();
         checkExactlyOnes();
         finalizeConfig();



Mime
View raw message