org.kuali.rice.ksb.api.messaging
Interface ResourceFacade

All Known Implementing Classes:
ResourceFacadeImpl

public interface ResourceFacade

ResourceFacade interface. RESTful services can be registered with more than one resource class, and the ResourceFacade allows you to select the resource class by resource name (the URI sub-path past the service root) or resource class.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
<R> R
getResource(Class<R> resourceClass)
          get the resource for the provided type
<R> R
getResource(String resourceName)
          get the resource corresponding to the given sub-path
 boolean isSingleResourceService()
           
 

Method Detail

getResource

<R> R getResource(String resourceName)
get the resource corresponding to the given sub-path


getResource

<R> R getResource(Class<R> resourceClass)
get the resource for the provided type


isSingleResourceService

boolean isSingleResourceService()


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.