You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2006/08/24 19:51:30 UTC

svn commit: r434445 - /webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/sg/impl/SimpleServiceGroup.java

Author: danj
Date: Thu Aug 24 10:51:29 2006
New Revision: 434445

URL: http://svn.apache.org/viewvc?rev=434445&view=rev
Log:
Behavior change for SimpleServiceGroup - described here:

http://marc.theaimsgroup.com/?l=muse-dev&m=115643343913137&w=2

Modified:
    webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/sg/impl/SimpleServiceGroup.java

Modified: webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/sg/impl/SimpleServiceGroup.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/sg/impl/SimpleServiceGroup.java?rev=434445&r1=434444&r2=434445&view=diff
==============================================================================
--- webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/sg/impl/SimpleServiceGroup.java (original)
+++ webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/sg/impl/SimpleServiceGroup.java Thu Aug 24 10:51:29 2006
@@ -113,7 +113,7 @@
             throw new NullPointerException(_MESSAGES.get("NullMemberServiceEPR"));
         
         WsResource sg = getWsResource();
-                
+        
         if (!isMatch(epr))
             throw new AddRefusedFault(_MESSAGES.get("ContentCreationFailed"));
 
@@ -319,6 +319,13 @@
         // when the actual members are re-loaded
         //
         if (getEntry(epr) != null)
+            return;
+
+        //
+        // don't add resources that don't validate against our 
+        // membership content rules
+        //
+        if (!isMatch(epr))
             return;
                 
         Date termination = null;



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