org.springframework.extensions.surf.resource.support
Class URLResourceLoader

java.lang.Object
  extended by org.springframework.extensions.surf.resource.AbstractResourceLoader
      extended by org.springframework.extensions.surf.resource.support.URLResourceLoader
All Implemented Interfaces:
ResourceLoader

public class URLResourceLoader
extends AbstractResourceLoader

Resource Loader for generic urls

Author:
muzquiano

Field Summary
 
Fields inherited from class org.springframework.extensions.surf.resource.AbstractResourceLoader
endpointId, protocolId
 
Constructor Summary
URLResourceLoader(String protocolId, String endpointId)
           
 
Method Summary
 Resource load(String objectId)
          Loads the resource with the given object id
 
Methods inherited from class org.springframework.extensions.surf.resource.AbstractResourceLoader
getEndpointId, getProtocolId, getServiceRegistry, init, setServiceRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLResourceLoader

public URLResourceLoader(String protocolId,
                         String endpointId)
Method Detail

load

public Resource load(String objectId)
              throws ResourceLoaderException
Description copied from interface: ResourceLoader
Loads the resource with the given object id

Returns:
Throws:
ResourceLoaderException


Copyright © 2009 SpringSource, Inc. All Rights Reserved.