You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by sc...@apache.org on 2005/05/17 17:21:24 UTC
svn commit: r170610 -
/incubator/muse/trunk/src/java/org/apache/ws/muws/MuwsUtils.java
Author: scamp
Date: Tue May 17 08:21:23 2005
New Revision: 170610
URL: http://svn.apache.org/viewcvs?rev=170610&view=rev
Log:
added check for relationship resource prop
Modified:
incubator/muse/trunk/src/java/org/apache/ws/muws/MuwsUtils.java
Modified: incubator/muse/trunk/src/java/org/apache/ws/muws/MuwsUtils.java
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/java/org/apache/ws/muws/MuwsUtils.java?rev=170610&r1=170609&r2=170610&view=diff
==============================================================================
--- incubator/muse/trunk/src/java/org/apache/ws/muws/MuwsUtils.java (original)
+++ incubator/muse/trunk/src/java/org/apache/ws/muws/MuwsUtils.java Tue May 17 08:21:23 2005
@@ -23,11 +23,12 @@
public void updateRelationshipResourceProperty(ResourcePropertySet propSet)
{
//init the RelationshipsProperties Resource
-
+ if(propSet.get(org.apache.ws.muws.v1_0.capability.RelationshipsCapability.PROP_NAME_RELATIONSHIP) != null)
+ {
org.apache.ws.muws.v1_0.impl.XmlBeansRelationshipResourceProperty relationshipResourceProperty = new org.apache.ws.muws.v1_0.impl.XmlBeansRelationshipResourceProperty(propSet.getMetaData().getPropertyMetaData(org.apache.ws.muws.v1_0.capability.RelationshipsCapability.PROP_NAME_RELATIONSHIP),
(org.apache.ws.resource.properties.impl.XmlBeansResourcePropertySet) propSet, (org.apache.ws.notification.base.NotificationProducerResource) this);
((org.apache.ws.resource.properties.impl.XmlBeansResourcePropertySet) propSet).set(relationshipResourceProperty);
-
+ }
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org