Author: scamp
Date: Fri Jul 15 11:00:26 2005
New Revision: 219230

URL: http://svn.apache.org/viewcvs?rev=219230&view=rev
Log:
Updated for the NEW Abstract*Home generated artifact

Added:
    
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherClientConfig/AbstractWeatherClientConfigHome.java
    
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/AbstractWeatherStationHome.java
    
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/AbstractWeatherStationDirHome.java
    
webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/impl/advertiser/AbstractResourceAdvertiserHome.java
    
webservices/muse/trunk/src/site/content/example/services/application/src/java/org/apache/ws/muse/example/application/AbstractApplicationHome.java
    
webservices/muse/trunk/src/site/content/example/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/AbstractBusinessprocesstypeHome.java
    
webservices/muse/trunk/src/site/content/example/services/host/src/java/org/apache/ws/muse/example/host/AbstractHostHome.java
    
webservices/muse/trunk/src/site/content/example/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/AbstractIntegrationserverHome.java
    
webservices/muse/trunk/src/site/content/example/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/AbstractResourceadminHome.java
    
webservices/muse/trunk/src/site/content/interop/src/java/com/dell/wsdm/demos/interop/x2005/x04/AbstractIpmiserverHome.java
    
webservices/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/AbstractBlackberryHome.java
    
webservices/muse/trunk/src/site/content/interop/src/java/org/everest/AbstractWeatherStationSoapHome.java
    
webservices/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/AbstractWeatherstationHome.java
Modified:
    
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherClientConfig/WeatherClientConfigHome.java
    
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/WeatherStationHome.java
    
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirHome.java
    
webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/impl/advertiser/ResourceAdvertiserHome.java
    
webservices/muse/trunk/src/site/content/example/services/application/src/java/org/apache/ws/muse/example/application/ApplicationHome.java
    
webservices/muse/trunk/src/site/content/example/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/BusinessprocesstypeHome.java
    
webservices/muse/trunk/src/site/content/example/services/host/src/java/org/apache/ws/muse/example/host/HostHome.java
    
webservices/muse/trunk/src/site/content/example/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/IntegrationserverHome.java
    
webservices/muse/trunk/src/site/content/example/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/ResourceadminHome.java
    
webservices/muse/trunk/src/site/content/interop/src/java/com/dell/wsdm/demos/interop/x2005/x04/IpmiserverHome.java
    
webservices/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/BlackberryHome.java
    
webservices/muse/trunk/src/site/content/interop/src/java/org/everest/WeatherStationSoapHome.java
    
webservices/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/WeatherstationHome.java

Added: 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherClientConfig/AbstractWeatherClientConfigHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherClientConfig/AbstractWeatherClientConfigHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherClientConfig/AbstractWeatherClientConfigHome.java
 (added)
+++ 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherClientConfig/AbstractWeatherClientConfigHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package org.wsdmdemo.service.weatherClientConfig;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractWeatherClientConfigHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherClientConfig/WeatherClientConfigHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherClientConfig/WeatherClientConfigHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherClientConfig/WeatherClientConfigHome.java
 (original)
+++ 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherClientConfig/WeatherClientConfigHome.java
 Fri Jul 15 11:00:26 2005
@@ -18,7 +18,7 @@
  * Home for WeatherClientConfig WS-Resources.

  */

 public class WeatherClientConfigHome

-        extends AbstractResourceHome

+        extends AbstractWeatherClientConfigHome

         implements Serializable

 {

 


Added: 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/AbstractWeatherStationHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/AbstractWeatherStationHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/AbstractWeatherStationHome.java
 (added)
+++ 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/AbstractWeatherStationHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package org.wsdmdemo.service.weatherStation;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractWeatherStationHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/WeatherStationHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/WeatherStationHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/WeatherStationHome.java
 (original)
+++ 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStation/WeatherStationHome.java
 Fri Jul 15 11:00:26 2005
@@ -19,7 +19,7 @@
  * Home for WeatherStation WS-Resources.

  */

 public class WeatherStationHome

-        extends AbstractResourceHome

+        extends AbstractWeatherStationHome

         implements Serializable

 {

 


Added: 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/AbstractWeatherStationDirHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/AbstractWeatherStationDirHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/AbstractWeatherStationDirHome.java
 (added)
+++ 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/AbstractWeatherStationDirHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package org.wsdmdemo.service.weatherStationDir;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractWeatherStationDirHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirHome.java
 (original)
+++ 
webservices/muse/trunk/src/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirHome.java
 Fri Jul 15 11:00:26 2005
@@ -16,7 +16,7 @@
  * Home for WeatherStationDir WS-Resources.

  */

 public class WeatherStationDirHome

-        extends AbstractResourceHome

+        extends AbstractWeatherStationDirHome

         implements Serializable

 {

 


Added: 
webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/impl/advertiser/AbstractResourceAdvertiserHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/impl/advertiser/AbstractResourceAdvertiserHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/impl/advertiser/AbstractResourceAdvertiserHome.java
 (added)
+++ 
webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/impl/advertiser/AbstractResourceAdvertiserHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package org.apache.ws.muws.v1_0.impl.advertiser;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractResourceAdvertiserHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/impl/advertiser/ResourceAdvertiserHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/impl/advertiser/ResourceAdvertiserHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/impl/advertiser/ResourceAdvertiserHome.java
 (original)
+++ 
webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/impl/advertiser/ResourceAdvertiserHome.java
 Fri Jul 15 11:00:26 2005
@@ -18,7 +18,7 @@
  * Home for ResourceAdvertiser WS-Resources.

  */

 public class ResourceAdvertiserHome

-        extends AbstractResourceHome

+        extends AbstractResourceAdvertiserHome

         implements Serializable

 {

 


Added: 
webservices/muse/trunk/src/site/content/example/services/application/src/java/org/apache/ws/muse/example/application/AbstractApplicationHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/example/services/application/src/java/org/apache/ws/muse/example/application/AbstractApplicationHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/site/content/example/services/application/src/java/org/apache/ws/muse/example/application/AbstractApplicationHome.java
 (added)
+++ 
webservices/muse/trunk/src/site/content/example/services/application/src/java/org/apache/ws/muse/example/application/AbstractApplicationHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package org.apache.ws.muse.example.application;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractApplicationHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/site/content/example/services/application/src/java/org/apache/ws/muse/example/application/ApplicationHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/example/services/application/src/java/org/apache/ws/muse/example/application/ApplicationHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/site/content/example/services/application/src/java/org/apache/ws/muse/example/application/ApplicationHome.java
 (original)
+++ 
webservices/muse/trunk/src/site/content/example/services/application/src/java/org/apache/ws/muse/example/application/ApplicationHome.java
 Fri Jul 15 11:00:26 2005
@@ -34,7 +34,7 @@
  * Home for Application WS-Resources.

  */

 public class ApplicationHome

-   extends AbstractResourceHome

+   extends AbstractApplicationHome

    implements Serializable

 {

    /**  The service endpoint name as registered with the SOAP Platform.  This 
is useful for building EPR's. **/


Added: 
webservices/muse/trunk/src/site/content/example/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/AbstractBusinessprocesstypeHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/example/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/AbstractBusinessprocesstypeHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/site/content/example/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/AbstractBusinessprocesstypeHome.java
 (added)
+++ 
webservices/muse/trunk/src/site/content/example/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/AbstractBusinessprocesstypeHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package org.apache.ws.muse.example.businessprocesstype;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractBusinessprocesstypeHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/site/content/example/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/BusinessprocesstypeHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/example/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/BusinessprocesstypeHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/site/content/example/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/BusinessprocesstypeHome.java
 (original)
+++ 
webservices/muse/trunk/src/site/content/example/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/BusinessprocesstypeHome.java
 Fri Jul 15 11:00:26 2005
@@ -36,7 +36,7 @@
  * Home for Businessprocesstype WS-Resources.

  */

 public class BusinessprocesstypeHome

-   extends AbstractResourceHome

+   extends AbstractBusinessprocesstypeHome

    implements Serializable

 {

    /**  The service endpoint name as registered with the SOAP Platform.  This 
is useful for building EPR's. **/


Added: 
webservices/muse/trunk/src/site/content/example/services/host/src/java/org/apache/ws/muse/example/host/AbstractHostHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/example/services/host/src/java/org/apache/ws/muse/example/host/AbstractHostHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/site/content/example/services/host/src/java/org/apache/ws/muse/example/host/AbstractHostHome.java
 (added)
+++ 
webservices/muse/trunk/src/site/content/example/services/host/src/java/org/apache/ws/muse/example/host/AbstractHostHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package org.apache.ws.muse.example.host;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractHostHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/site/content/example/services/host/src/java/org/apache/ws/muse/example/host/HostHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/example/services/host/src/java/org/apache/ws/muse/example/host/HostHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/site/content/example/services/host/src/java/org/apache/ws/muse/example/host/HostHome.java
 (original)
+++ 
webservices/muse/trunk/src/site/content/example/services/host/src/java/org/apache/ws/muse/example/host/HostHome.java
 Fri Jul 15 11:00:26 2005
@@ -36,7 +36,7 @@
  * Home for Host WS-Resources.

  */

 public class HostHome

-   extends AbstractResourceHome

+   extends AbstractHostHome

    implements Serializable

 {

    /**  The service endpoint name as registered with the SOAP Platform.  This 
is useful for building EPR's. **/


Added: 
webservices/muse/trunk/src/site/content/example/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/AbstractIntegrationserverHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/example/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/AbstractIntegrationserverHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/site/content/example/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/AbstractIntegrationserverHome.java
 (added)
+++ 
webservices/muse/trunk/src/site/content/example/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/AbstractIntegrationserverHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package org.apache.ws.muse.example.integrationserver;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractIntegrationserverHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/site/content/example/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/IntegrationserverHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/example/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/IntegrationserverHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/site/content/example/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/IntegrationserverHome.java
 (original)
+++ 
webservices/muse/trunk/src/site/content/example/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/IntegrationserverHome.java
 Fri Jul 15 11:00:26 2005
@@ -21,7 +21,7 @@
  * Home for Integrationserver WS-Resources.

  */

 public class IntegrationserverHome

-        extends AbstractResourceHome

+        extends AbstractIntegrationserverHome

         implements Serializable

 {

 


Added: 
webservices/muse/trunk/src/site/content/example/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/AbstractResourceadminHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/example/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/AbstractResourceadminHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/site/content/example/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/AbstractResourceadminHome.java
 (added)
+++ 
webservices/muse/trunk/src/site/content/example/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/AbstractResourceadminHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package org.apache.ws.muse.example.resourceadmin;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractResourceadminHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/site/content/example/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/ResourceadminHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/example/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/ResourceadminHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/site/content/example/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/ResourceadminHome.java
 (original)
+++ 
webservices/muse/trunk/src/site/content/example/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/ResourceadminHome.java
 Fri Jul 15 11:00:26 2005
@@ -39,7 +39,7 @@
  * Home for Resourceadmin WS-Resources.

  */

 public class ResourceadminHome

-   extends AbstractResourceHome

+   extends AbstractResourceadminHome

    implements Serializable

 {

    /**  The service endpoint name as registered with the SOAP Platform.  This 
is useful for building EPR's. **/


Added: 
webservices/muse/trunk/src/site/content/interop/src/java/com/dell/wsdm/demos/interop/x2005/x04/AbstractIpmiserverHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/interop/src/java/com/dell/wsdm/demos/interop/x2005/x04/AbstractIpmiserverHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/site/content/interop/src/java/com/dell/wsdm/demos/interop/x2005/x04/AbstractIpmiserverHome.java
 (added)
+++ 
webservices/muse/trunk/src/site/content/interop/src/java/com/dell/wsdm/demos/interop/x2005/x04/AbstractIpmiserverHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package com.dell.wsdm.demos.interop.x2005.x04;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractIpmiserverHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/site/content/interop/src/java/com/dell/wsdm/demos/interop/x2005/x04/IpmiserverHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/interop/src/java/com/dell/wsdm/demos/interop/x2005/x04/IpmiserverHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/site/content/interop/src/java/com/dell/wsdm/demos/interop/x2005/x04/IpmiserverHome.java
 (original)
+++ 
webservices/muse/trunk/src/site/content/interop/src/java/com/dell/wsdm/demos/interop/x2005/x04/IpmiserverHome.java
 Fri Jul 15 11:00:26 2005
@@ -16,7 +16,7 @@
  * Home for Ipmiserver WS-Resources.

  */

 public class IpmiserverHome

-        extends AbstractResourceHome

+        extends AbstractIpmiserverHome

         implements Serializable

 {

 


Added: 
webservices/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/AbstractBlackberryHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/AbstractBlackberryHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/AbstractBlackberryHome.java
 (added)
+++ 
webservices/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/AbstractBlackberryHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package org.apache.ws.resource.example.blackberry;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractBlackberryHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/BlackberryHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/BlackberryHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/BlackberryHome.java
 (original)
+++ 
webservices/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/BlackberryHome.java
 Fri Jul 15 11:00:26 2005
@@ -16,7 +16,7 @@
  * Home for Blackberry WS-Resources.

  */

 public class BlackberryHome

-        extends AbstractResourceHome

+        extends AbstractBlackberryHome

         implements Serializable

 {

     /**


Added: 
webservices/muse/trunk/src/site/content/interop/src/java/org/everest/AbstractWeatherStationSoapHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/interop/src/java/org/everest/AbstractWeatherStationSoapHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/site/content/interop/src/java/org/everest/AbstractWeatherStationSoapHome.java
 (added)
+++ 
webservices/muse/trunk/src/site/content/interop/src/java/org/everest/AbstractWeatherStationSoapHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package org.everest;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractWeatherStationSoapHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/site/content/interop/src/java/org/everest/WeatherStationSoapHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/interop/src/java/org/everest/WeatherStationSoapHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/site/content/interop/src/java/org/everest/WeatherStationSoapHome.java
 (original)
+++ 
webservices/muse/trunk/src/site/content/interop/src/java/org/everest/WeatherStationSoapHome.java
 Fri Jul 15 11:00:26 2005
@@ -15,7 +15,7 @@
  * Home for WeatherStationSoap WS-Resources.

  */

 public class WeatherStationSoapHome

-        extends AbstractResourceHome

+        extends AbstractWeatherStationSoapHome

         implements Serializable

 {

 


Added: 
webservices/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/AbstractWeatherstationHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/AbstractWeatherstationHome.java?rev=219230&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/AbstractWeatherstationHome.java
 (added)
+++ 
webservices/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/AbstractWeatherstationHome.java
 Fri Jul 15 11:00:26 2005
@@ -0,0 +1,51 @@
+package org.everestWeather.wsdm.samples.x2005.x04.schema;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+

+import java.util.Map;

+import java.util.HashMap;

+import java.util.Collections;

+import javax.naming.Context;

+import javax.naming.InitialContext;

+import javax.naming.NamingException;

+

+/**

+ * This class should not be modified.

+ * <p/>

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing resources via 
JNDI.

+ * <p/>

+ * This ensures the resources will be accessible if serialized via JNDI in 
certain platforms.

+ */

+abstract class AbstractWeatherstationHome extends AbstractResourceHome

+{

+    /**

+     * The static reference which is maintained and used by the 
AbstractResourceHome.

+     * <p/>

+     * Do not modify.

+     */

+    private static Map m_resource;

+

+    /**

+     * Do not modify this method.

+     */

+    protected final Map initResourceMap()

+            throws NamingException

+    {

+        Context initialContext = new InitialContext();

+        if (m_resourceIsPersistent)

+        {

+            m_resources = new ReferenceMap(ReferenceMap.HARD, 
ReferenceMap.SOFT, true);

+            initCachePolicy(initialContext);

+        }

+        else

+        {

+            m_resources = new HashMap();

+        }

+

+        m_resources = Collections.synchronizedMap(m_resources);

+        return m_resources;

+    }

+

+}


Modified: 
webservices/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/WeatherstationHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/WeatherstationHome.java?rev=219230&r1=219229&r2=219230&view=diff
==============================================================================
--- 
webservices/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/WeatherstationHome.java
 (original)
+++ 
webservices/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/WeatherstationHome.java
 Fri Jul 15 11:00:26 2005
@@ -17,7 +17,7 @@
  * Home for Weatherstation WS-Resources.

  */

 public class WeatherstationHome

-        extends AbstractResourceHome

+        extends AbstractWeatherstationHome

         implements Serializable

 {

     /**




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

Reply via email to