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

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

public class AlfrescoResourceLoader
extends AbstractCachingResourceLoader

Resource loader implementation for the Alfresco repository

Author:
muzquiano

Field Summary
 
Fields inherited from class org.springframework.extensions.surf.resource.AbstractResourceLoader
endpointId, protocolId
 
Constructor Summary
AlfrescoResourceLoader(String protocolId, String endpointId)
           
 
Method Summary
 Resource buildResource(String objectId)
          Builds the resource bound to the given object id
 
Methods inherited from class org.springframework.extensions.surf.resource.AbstractCachingResourceLoader
load, setCacheTimeout
 
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

AlfrescoResourceLoader

public AlfrescoResourceLoader(String protocolId,
                              String endpointId)
Method Detail

buildResource

public Resource buildResource(String objectId)
                       throws ResourceLoaderException
Description copied from class: AbstractCachingResourceLoader
Builds the resource bound to the given object id

Specified by:
buildResource in class AbstractCachingResourceLoader
Returns:
resource
Throws:
ResourceLoaderException


Copyright © 2009 SpringSource, Inc. All Rights Reserved.