cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Sosnoski <...@sosnoski.com>
Subject Using policy impl classes outside policy module
Date Fri, 11 Oct 2013 11:46:50 GMT
I recently made some changes to support WS-RM operating over 
WS-SecureConversation. As part of this I needed to do some policy 
manipulation supported by the EndpointPolicyImpl class but not in the 
EndpointPolicy interface (which also required PolicyEngineImpl rather 
than PolicyEngine, and the standard EffectivePolicyImpl rather than a 
private EffectivePolicyImpl). Anyone see a problem with this? Seems like 
bad form to be using the Impls outside the module, but it saves a lot of 
copy/paste code.

You can view the change at 
http://svn.apache.org/viewvc/cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMEndpoint.java?rev=1531258&r1=1531257&r2=1531258&view=diff

basically the setPolicies() method

   - Dennis


Mime
View raw message