You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2007/09/14 10:20:31 UTC

svn commit: r575581 - in /incubator/sling/trunk/core/src/main/java/org/apache/sling/core: RequestEvent.java RequestEventListener.java ServiceLocator.java

Author: cziegeler
Date: Fri Sep 14 01:20:29 2007
New Revision: 575581

URL: http://svn.apache.org/viewvc?rev=575581&view=rev
Log:
Some javadoc updates.

Modified:
    incubator/sling/trunk/core/src/main/java/org/apache/sling/core/RequestEvent.java
    incubator/sling/trunk/core/src/main/java/org/apache/sling/core/RequestEventListener.java
    incubator/sling/trunk/core/src/main/java/org/apache/sling/core/ServiceLocator.java

Modified: incubator/sling/trunk/core/src/main/java/org/apache/sling/core/RequestEvent.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/core/src/main/java/org/apache/sling/core/RequestEvent.java?rev=575581&r1=575580&r2=575581&view=diff
==============================================================================
--- incubator/sling/trunk/core/src/main/java/org/apache/sling/core/RequestEvent.java (original)
+++ incubator/sling/trunk/core/src/main/java/org/apache/sling/core/RequestEvent.java Fri Sep 14 01:20:29 2007
@@ -23,7 +23,7 @@
 
 /**
  * The <code>RequestEvent</code> class provides the contents of a request
- * event sent to the methods of the {@link RequestEventListener2} interface.
+ * event sent to the methods of the {@link RequestEventListener} interface.
  */
 public class RequestEvent {
 
@@ -47,7 +47,7 @@
     }
 
     /**
-     * Returns the {@link DeliveryHttpServletRequest request} object pertaining
+     * Returns the {@link HttpServletRequest request} object pertaining
      * to the HTTP request represented by this event.
      * <p>
      * This property is available for all events.
@@ -58,7 +58,7 @@
 
 
     /**
-     * Returns the {@link DeliveryHttpServletResponse response} object
+     * Returns the {@link HttpServletResponse response} object
      * pertaining to the HTTP request represented by this event.
      * <p>
      * This property is available for all events.

Modified: incubator/sling/trunk/core/src/main/java/org/apache/sling/core/RequestEventListener.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/core/src/main/java/org/apache/sling/core/RequestEventListener.java?rev=575581&r1=575580&r2=575581&view=diff
==============================================================================
--- incubator/sling/trunk/core/src/main/java/org/apache/sling/core/RequestEventListener.java (original)
+++ incubator/sling/trunk/core/src/main/java/org/apache/sling/core/RequestEventListener.java Fri Sep 14 01:20:29 2007
@@ -21,9 +21,7 @@
 import java.util.EventListener;
 
 /**
- * The <code>RequestEventListener2</code> class replaces the
- * {@link org.apache.sling.core.RequestEventListener} interface replacing the
- * original argument list with the {@link RequestEvent}.
+ * The <code>RequestEventListener</code>
  */
 public interface RequestEventListener extends EventListener {
 

Modified: incubator/sling/trunk/core/src/main/java/org/apache/sling/core/ServiceLocator.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/core/src/main/java/org/apache/sling/core/ServiceLocator.java?rev=575581&r1=575580&r2=575581&view=diff
==============================================================================
--- incubator/sling/trunk/core/src/main/java/org/apache/sling/core/ServiceLocator.java (original)
+++ incubator/sling/trunk/core/src/main/java/org/apache/sling/core/ServiceLocator.java Fri Sep 14 01:20:29 2007
@@ -21,8 +21,16 @@
 import org.osgi.framework.InvalidSyntaxException;
 
 /**
- * <code>ServiceLocator</code>... The service locator is the gateway to all
- * registered components. It is made available through a request attribute.
+ * <code>ServiceLocator</code>
+ *
+ * The service locator is the gateway to all
+ * registered components. It is made available through the request attribute
+ * {@link #REQUEST_ATTRIBUTE_NAME}.
+ * The service locator should only be used in code which is not managed through
+ * OSGi like JSPs or Java classes that are not registered as services.
+ *
+ * The services looked up through the service locator are only valid within the
+ * current request!
  */
 public interface ServiceLocator {