Author: scamp
Date: Tue May 31 12:19:55 2005
New Revision: 179264
URL: http://svn.apache.org/viewcvs?rev=179264&view=rev
Log: (empty)
Modified:
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/InteropConstants.java
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirResource.java
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirService.java
Modified:
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/InteropConstants.java
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/InteropConstants.java?rev=179264&r1=179263&r2=179264&view=diff
==============================================================================
---
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/InteropConstants.java
(original)
+++
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/InteropConstants.java
Tue May 31 12:19:55 2005
@@ -13,4 +13,5 @@
String WS1_KEY = "weather-station-1";
String WS2_KEY = "weather-station-2";
QName RELATIONSHIP_RELATION = new
QName(WeatherStationDirHome.SERVICE_NAME.getNamespaceURI(), "contains",
"wsdir");
+ String DIR_RESOURCEID = "urn:SINGLETON";
}
Modified:
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirResource.java
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirResource.java?rev=179264&r1=179263&r2=179264&view=diff
==============================================================================
---
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirResource.java
(original)
+++
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirResource.java
Tue May 31 12:19:55 2005
@@ -8,6 +8,7 @@
import org.apache.ws.muws.v1_0.topics.impl.XmlBeansManagementEventTopicImpl;
import org.apache.ws.notification.topics.TopicSpace;
import org.apache.ws.notification.topics.impl.TopicSpaceImpl;
+import org.wsdmdemo.service.InteropConstants;
/**
* **** NOTE: This file will not be overwritten during generation ****
@@ -78,7 +79,7 @@
// init the
{http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd}ResourceId
Resource Property
resourceProperty =
resourcePropertySet.get(WeatherStationDirPropertyQNames.RESOURCEID);
org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.ResourceIdDocument
prop_resourceid =
org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.ResourceIdDocument.Factory.newInstance();
- prop_resourceid.setResourceId(" ");//singleton
+
prop_resourceid.setResourceId(InteropConstants.DIR_RESOURCEID);//singleton
resourceProperty.addChangeListener(identityCapability);
resourceProperty.add(prop_resourceid);
Modified:
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirService.java
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirService.java?rev=179264&r1=179263&r2=179264&view=diff
==============================================================================
---
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirService.java
(original)
+++
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirService.java
Tue May 31 12:19:55 2005
@@ -147,7 +147,7 @@
WeatherStationDirResource resource = (WeatherStationDirResource)
getResource();
XmlBeansEndpointReference xmlEpr = (XmlBeansEndpointReference)
resource.getEndpointReference();
EndpointReferenceType dirEndpointReferenceType =
(EndpointReferenceType)
xmlEpr.getXmlObject(AddressingConstants.NSURI_ADDRESSING_SCHEMA);
- relationshipParticipantType.setResourceId(" ");
+
relationshipParticipantType.setResourceId(InteropConstants.DIR_RESOURCEID);
relationshipParticipantType.setRole("urn://parent");//uri
relationshipParticipantType.setManageabilityEndpointReferenceArray(new
EndpointReferenceType[]{dirEndpointReferenceType});
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]