jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r679741 - in /jackrabbit/trunk: jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/ jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/
Date Fri, 25 Jul 2008 10:17:25 GMT
Author: jukka
Date: Fri Jul 25 03:17:25 2008
New Revision: 679741

URL: http://svn.apache.org/viewvc?rev=679741&view=rev
Log:
JCR-1672: Adding Event interface and isLocal()

Stick with the JackrabbitSomething naming pattern for extension interfaces.

Added:
    jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/JackrabbitEvent.java
  (contents, props changed)
      - copied, changed from r679735, jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/ExtendedEvent.java
Removed:
    jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/ExtendedEvent.java
Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventImpl.java

Copied: jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/JackrabbitEvent.java
(from r679735, jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/ExtendedEvent.java)
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/JackrabbitEvent.java?p2=jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/JackrabbitEvent.java&p1=jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/ExtendedEvent.java&r1=679735&r2=679741&rev=679741&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/ExtendedEvent.java
(original)
+++ jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/JackrabbitEvent.java
Fri Jul 25 03:17:25 2008
@@ -23,7 +23,7 @@
  * a method to detect whether the changes happened on locally
  * or remotely in a clustered environment.
  */
-public interface ExtendedEvent extends Event {
+public interface JackrabbitEvent extends Event {
 
     /**
      * Return a flag indicating whether this is an externally generated event.

Propchange: jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/JackrabbitEvent.java
------------------------------------------------------------------------------
    svn:mergeinfo = 

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventImpl.java?rev=679741&r1=679740&r2=679741&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventImpl.java
Fri Jul 25 03:17:25 2008
@@ -16,7 +16,7 @@
  */
 package org.apache.jackrabbit.core.observation;
 
-import org.apache.jackrabbit.api.observation.ExtendedEvent;
+import org.apache.jackrabbit.api.observation.JackrabbitEvent;
 import org.apache.jackrabbit.core.NodeId;
 import org.apache.jackrabbit.core.SessionImpl;
 import org.apache.jackrabbit.spi.commons.conversion.MalformedPathException;
@@ -30,9 +30,9 @@
 
 /**
  * Implementation of the {@link javax.jcr.observation.Event} and
- * the {@link ExtendedEvent} interface.
+ * the {@link JackrabbitEvent} interface.
  */
-public final class EventImpl implements ExtendedEvent {
+public final class EventImpl implements JackrabbitEvent {
 
     /**
      * Logger instance for this class
@@ -146,7 +146,7 @@
      *
      * @return <code>true</code> if this is an external event;
      *         <code>false</code> otherwise
-     * @see ExtendedEvent#isExternal()
+     * @see JackrabbitEvent#isExternal()
      */
     public boolean isExternal() {
         return eventState.isExternal();



Mime
View raw message