Author: scamp
Date: Fri Jun  3 11:49:57 2005
New Revision: 179853

URL: http://svn.apache.org/viewcvs?rev=179853&view=rev
Log: (empty)

Modified:
    
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/WeatherStationHome.java

Modified: 
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/WeatherStationHome.java
URL: 
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/WeatherStationHome.java?rev=179853&r1=179852&r2=179853&view=diff
==============================================================================
--- 
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/WeatherStationHome.java
 (original)
+++ 
incubator/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/WeatherStationHome.java
 Fri Jun  3 11:49:57 2005
@@ -62,8 +62,18 @@
 
     public WeatherStationHome()
     {
-        super();
-    /*    try
+
+    }
+
+    /**
+     * DOCUMENT_ME
+     *
+     * @throws Exception DOCUMENT_ME
+     */
+    public synchronized void init() throws Exception
+    {
+        super.init();
+         try
         {
             //bootstrap the weather stations  todo not sure we need to do this
             SimpleTypeResourceKey ws1Key = new 
SimpleTypeResourceKey(RESOURCE_KEY_NAME, InteropConstants.WS1_KEY);
@@ -87,7 +97,7 @@
         catch (ResourceException e)
         {
             e.printStackTrace();
-        }*/
+        }
     }
 
     private void registerWeatherStation(EndpointReference epr)
@@ -143,6 +153,7 @@
 
         return resource;
     }
+
 
     public QName getServiceName()
     {



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to