You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-dev@ws.apache.org by sc...@apache.org on 2005/05/10 23:25:47 UTC

svn commit: r169526 - /incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceCreationEvent.java /incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceDestructionEvent.java /incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceEvent.java

Author: scamp
Date: Tue May 10 14:25:45 2005
New Revision: 169526

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

Modified:
    incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceCreationEvent.java
    incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceDestructionEvent.java
    incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceEvent.java

Modified: incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceCreationEvent.java
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceCreationEvent.java?rev=169526&r1=169525&r2=169526&view=diff
==============================================================================
--- incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceCreationEvent.java (original)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceCreationEvent.java Tue May 10 14:25:45 2005
@@ -11,12 +11,18 @@
 public class ResourceCreationEvent implements ResourceEvent
 {
     EndpointReference m_epr;
+    private Object m_resourceId;
 
     public ResourceCreationEvent(EndpointReference epr)
     {
         m_epr = epr;
     }
 
+    public void setResourceId(Object resourceId)
+    {
+        m_resourceId = resourceId;
+    }
+
     /**
      * Returns the EndpointRefrence for the Resource the event isassociated with.
      *
@@ -25,5 +31,15 @@
     public EndpointReference getEndpointReference()
     {
         return m_epr;
+    }
+
+    /**
+     * Returns the ResourceID of the resource the event is about.
+     *
+     * @return The resource id of the resource.
+     */
+    public Object getResourceID()
+    {
+        return m_resourceId;
     }
 }

Modified: incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceDestructionEvent.java
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceDestructionEvent.java?rev=169526&r1=169525&r2=169526&view=diff
==============================================================================
--- incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceDestructionEvent.java (original)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceDestructionEvent.java Tue May 10 14:25:45 2005
@@ -11,12 +11,18 @@
 public class ResourceDestructionEvent implements ResourceEvent
 {
     EndpointReference m_epr;
+    Object m_resourceId;
 
     public ResourceDestructionEvent(EndpointReference epr)
     {
         m_epr = epr;
     }
 
+    public void setResourceId(Object resourceId)
+    {
+        m_resourceId = resourceId;
+    }
+
     /**
      * Returns the EndpointRefrence for the Resource the event isassociated with.
      *
@@ -25,5 +31,15 @@
     public EndpointReference getEndpointReference()
     {
         return m_epr;
+    }
+
+    /**
+     * Returns the ResourceID of the resource the event is about.
+     *
+     * @return The resource id of the resource.
+     */
+    public Object getResourceID()
+    {
+        return m_resourceId;
     }
 }

Modified: incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceEvent.java
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceEvent.java?rev=169526&r1=169525&r2=169526&view=diff
==============================================================================
--- incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceEvent.java (original)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/ResourceEvent.java Tue May 10 14:25:45 2005
@@ -15,4 +15,11 @@
      * @return  EndpointReference
      */
     EndpointReference getEndpointReference();
+
+    /**
+     * Returns the ResourceID of the resource the event is about.
+     *
+     * @return The resource id of the resource.
+     */
+    Object getResourceID();
 }



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