org.wso2.registry.jdbc.urlhandlers
Class RatingURLHandler

java.lang.Object
  extended by org.wso2.registry.jdbc.urlhandlers.URLHandler
      extended by org.wso2.registry.jdbc.urlhandlers.RatingURLHandler

public class RatingURLHandler
extends URLHandler


Field Summary
 
Fields inherited from class org.wso2.registry.jdbc.urlhandlers.URLHandler
dataSource, realm
 
Constructor Summary
RatingURLHandler(javax.sql.DataSource dataSource, org.wso2.usermanager.Realm realm)
           
 
Method Summary
 Resource get(java.lang.String url)
          Determine if get(...) on the given url can be handled.
 
Methods inherited from class org.wso2.registry.jdbc.urlhandlers.URLHandler
delete, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatingURLHandler

public RatingURLHandler(javax.sql.DataSource dataSource,
                        org.wso2.usermanager.Realm realm)
Method Detail

get

public Resource get(java.lang.String url)
             throws RegistryException
Description copied from class: URLHandler
Determine if get(...) on the given url can be handled. If yes, process the request and return the resulting resource. Further processing of the resource is terminated if a resource is returned. If the given url cannot be handled return null, which causes other url handlers to process the request, or the request to be reached the media type handlers.

Overrides:
get in class URLHandler
Parameters:
url - URL to identify the resource to be retrieved.
Returns:
Resource instance if the URL can be processed. Null if the request cannot be processed.
Throws:
RegistryException - URL handler implementations should handle all exceptions and throw RegistryException if the exception has to propagated to the client.


Copyright © 2007 Apache Web Services Project. All Rights Reserved.