Revision: 1630
          http://svn.sourceforge.net/spring-rich-c/?rev=1630&view=rev
Author:   kevinstembridge
Date:     2007-01-08 08:31:11 -0800 (Mon, 08 Jan 2007)

Log Message:
-----------
Added javodoc

Modified Paths:
--------------
    
trunk/spring-richclient/core/src/main/java/org/springframework/richclient/application/ApplicationServices.java

Modified: 
trunk/spring-richclient/core/src/main/java/org/springframework/richclient/application/ApplicationServices.java
===================================================================
--- 
trunk/spring-richclient/core/src/main/java/org/springframework/richclient/application/ApplicationServices.java
      2007-01-08 16:29:49 UTC (rev 1629)
+++ 
trunk/spring-richclient/core/src/main/java/org/springframework/richclient/application/ApplicationServices.java
      2007-01-08 16:31:11 UTC (rev 1630)
@@ -16,21 +16,19 @@
 package org.springframework.richclient.application;
 
 /**
- * Service locator
+ * A service locator that can retrieve instances of a service by class type. 
  * 
  * @author Larry Streepy
  */
 public interface ApplicationServices {
 
     /**
-     * Get a service of the requested type (class).
-     * <p>
-     * TODO change to use a more specific exception like 
NoServiceImplementationException
+     * Returns the application service of the requested type (class).
      * 
      * @param serviceType Type of service to locate
-     * @return service implementation
-     * @throws UnsupportedOperationException if there is no service known for 
the given
-     *         serviceType.
+     * @return A service implementation of the requested type. Never null.
+     * @throws IllegalArgumentException if [EMAIL PROTECTED] serviceType} is 
null.
+     * @throws ServiceNotFoundException if there is no service known for the 
given serviceType.
      */
     Object getService( Class serviceType );
 
@@ -39,6 +37,8 @@
      * 
      * @param serviceType Type of service to locate
      * @return true if service is available, false if not
+     * @throws IllegalArgumentException if [EMAIL PROTECTED] serviceType} is 
null.
      */
     boolean containsService( Class serviceType );
+    
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
spring-rich-c-cvs mailing list
spring-rich-c-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs

Reply via email to