incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r589669 - in /incubator/sling/trunk/event: pom.xml src/main/java/org/apache/sling/event/impl/EventHelper.java src/main/resources/SLING-INF/nodetypes/event.cnd
Date Mon, 29 Oct 2007 15:21:22 GMT
Author: cziegeler
Date: Mon Oct 29 08:21:21 2007
New Revision: 589669

URL: http://svn.apache.org/viewvc?rev=589669&view=rev
Log:
Event bundle defines and uses sling-event prefix.

Modified:
    incubator/sling/trunk/event/pom.xml
    incubator/sling/trunk/event/src/main/java/org/apache/sling/event/impl/EventHelper.java
    incubator/sling/trunk/event/src/main/resources/SLING-INF/nodetypes/event.cnd

Modified: incubator/sling/trunk/event/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/event/pom.xml?rev=589669&r1=589668&r2=589669&view=diff
==============================================================================
--- incubator/sling/trunk/event/pom.xml (original)
+++ incubator/sling/trunk/event/pom.xml Mon Oct 29 08:21:21 2007
@@ -74,6 +74,9 @@
                         <Sling-Nodetypes>
                             SLING-INF/nodetypes/event.cnd
                         </Sling-Nodetypes>
+                        <Sling-Namespaces>
+                            sling-event=http://sling.apache.org/jcr/event/1.0
+                        </Sling-Namespaces>
                     </instructions>
                 </configuration>
             </plugin>

Modified: incubator/sling/trunk/event/src/main/java/org/apache/sling/event/impl/EventHelper.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/event/src/main/java/org/apache/sling/event/impl/EventHelper.java?rev=589669&r1=589668&r2=589669&view=diff
==============================================================================
--- incubator/sling/trunk/event/src/main/java/org/apache/sling/event/impl/EventHelper.java
(original)
+++ incubator/sling/trunk/event/src/main/java/org/apache/sling/event/impl/EventHelper.java
Mon Oct 29 08:21:21 2007
@@ -24,19 +24,19 @@
  */
 public abstract class EventHelper {
 
-    public static final String NODE_PROPERTY_TOPIC = "event:topic";
-    public static final String NODE_PROPERTY_APPLICATION = "event:application";
-    public static final String NODE_PROPERTY_CREATED = "event:created";
-    public static final String NODE_PROPERTY_PROPERTIES = "event:properties";
-    public static final String NODE_PROPERTY_PROCESSOR = "event:processor";
-    public static final String NODE_PROPERTY_JOBID = "event:id";
-    public static final String NODE_PROPERTY_ACTIVE = "event:active";
-    public static final String NODE_PROPERTY_FINISHED = "event:finished";
+    public static final String NODE_PROPERTY_TOPIC = "sling-event:topic";
+    public static final String NODE_PROPERTY_APPLICATION = "sling-event:application";
+    public static final String NODE_PROPERTY_CREATED = "sling-event:created";
+    public static final String NODE_PROPERTY_PROPERTIES = "sling-event:properties";
+    public static final String NODE_PROPERTY_PROCESSOR = "sling-event:processor";
+    public static final String NODE_PROPERTY_JOBID = "sling-event:id";
+    public static final String NODE_PROPERTY_ACTIVE = "sling-event:active";
+    public static final String NODE_PROPERTY_FINISHED = "sling-event:finished";
 
-    public static final String EVENTS_NODE_TYPE = "event:Events";
-    public static final String EVENT_NODE_TYPE = "event:Event";
-    public static final String JOBS_NODE_TYPE = "event:Jobs";
-    public static final String JOB_NODE_TYPE = "event:Job";
-    public static final String TIMED_EVENTS_NODE_TYPE = "event:TimedEvents";
-    public static final String TIMED_EVENT_NODE_TYPE = "event:TimedEvent";
+    public static final String EVENTS_NODE_TYPE = "sling-event:Events";
+    public static final String EVENT_NODE_TYPE = "sling-event:Event";
+    public static final String JOBS_NODE_TYPE = "sling-event:Jobs";
+    public static final String JOB_NODE_TYPE = "sling-event:Job";
+    public static final String TIMED_EVENTS_NODE_TYPE = "sling-event:TimedEvents";
+    public static final String TIMED_EVENT_NODE_TYPE = "sling-event:TimedEvent";
 }

Modified: incubator/sling/trunk/event/src/main/resources/SLING-INF/nodetypes/event.cnd
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/event/src/main/resources/SLING-INF/nodetypes/event.cnd?rev=589669&r1=589668&r2=589669&view=diff
==============================================================================
--- incubator/sling/trunk/event/src/main/resources/SLING-INF/nodetypes/event.cnd (original)
+++ incubator/sling/trunk/event/src/main/resources/SLING-INF/nodetypes/event.cnd Mon Oct 29
08:21:21 2007
@@ -17,33 +17,33 @@
 //  under the License.
 //
 
-<event = 'http://sling.apache.org/jcr/event/1.0'>
+<sling-event = 'http://sling.apache.org/jcr/event/1.0'>
 <nt='http://www.jcp.org/jcr/nt/1.0'>
 <mix='http://www.jcp.org/jcr/mix/1.0'>
 
-[event:Events] > nt:base, mix:lockable
-  + * (event:Event)
+[sling-event:Events] > nt:base, mix:lockable
+  + * (sling-event:Event)
 
-[event:Event] > nt:base
-  - event:topic (string)
-  - event:application (string)
-  - event:created (date)
-  - event:properties (binary)
+[sling-event:Event] > nt:base
+  - sling-event:topic (string)
+  - sling-event:application (string)
+  - sling-event:created (date)
+  - sling-event:properties (binary)
   
-[event:Jobs] > event:Events, mix:lockable
-  + * (event:Job)
+[sling-event:Jobs] > sling-event:Events, mix:lockable
+  + * (sling-event:Job)
   
-[event:Job] > event:Event, mix:lockable
-  - event:processor (string)
-  - event:active (boolean)
-  - event:id (string)
-  - event:finished (date)
+[sling-event:Job] > sling-event:Event, mix:lockable
+  - sling-event:processor (string)
+  - sling-event:active (boolean)
+  - sling-event:id (string)
+  - sling-event:finished (date)
 
-[event:TimedEvents] > event:Events, mix:lockable
- + * (event:TimedEvent)
+[sling-event:TimedEvents] > sling-event:Events, mix:lockable
+ + * (sling-event:TimedEvent)
  
-[event:TimedEvent] > event:Event
-  - event:processor (string)
-  - event:id (string)
+[sling-event:TimedEvent] > sling-event:Event
+  - sling-event:processor (string)
+  - sling-event:id (string)
 
   



Mime
View raw message