Package org.alfresco.repo.content.http
Class HttpAlfrescoStore
- java.lang.Object
-
- org.alfresco.repo.content.AbstractContentStore
-
- org.alfresco.repo.content.http.HttpAlfrescoStore
-
- All Implemented Interfaces:
org.alfresco.repo.content.ContentStore
@Deprecated public class HttpAlfrescoStore extends AbstractContentStore
Deprecated.Removed in 5.2A read-only store using HTTP to access content from a remote Alfresco application.The primary purpose of this component is to allow clustered content sharing without having to have shared access to the binary data on the various machines.
- Since:
- 2.1
- Author:
- Derek Hulley
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.content.AbstractContentStore
contentLimitProvider
-
-
Constructor Summary
Constructors Constructor Description HttpAlfrescoStore()Deprecated.Default constructor for bean instantiation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.alfresco.service.cmr.repository.ContentReadergetReader(java.lang.String contentUrl)Deprecated.booleanisWriteSupported()Deprecated.This is a read only store.static voidmain(java.lang.String[] args)Deprecated.Tests the HTTP store against a given server.
Usage:voidsetAuthenticationService(AuthenticationService authenticationService)Deprecated.voidsetBaseHttpUrl(java.lang.String baseHttpUrl)Deprecated.Set the base HTTP URL of the remote Alfresco application.
For example:voidsetTransactionService(TransactionService transactionService)Deprecated.-
Methods inherited from class org.alfresco.repo.content.AbstractContentStore
delete, exists, getContentUrlParts, getRootLocation, getSpaceFree, getSpaceTotal, getWriter, getWriterInternal, isContentUrlSupported, isValidContentUrl, setContentLimitProvider
-
-
-
-
Method Detail
-
setTransactionService
public void setTransactionService(TransactionService transactionService)
Deprecated.- Parameters:
transactionService- used to ensure proper ticket propagation in a cluster
-
setAuthenticationService
public void setAuthenticationService(AuthenticationService authenticationService)
Deprecated.- Parameters:
authenticationService- used to retrieve authentication ticket
-
setBaseHttpUrl
public void setBaseHttpUrl(java.lang.String baseHttpUrl)
Deprecated.Set the base HTTP URL of the remote Alfresco application.
For example:http://192.168.1.66:8080/alfresco
.- Parameters:
baseHttpUrl- the remote HTTP address including the .../alfresco
-
isWriteSupported
public boolean isWriteSupported()
Deprecated.This is a read only store.- Returns:
- false always
-
getReader
public org.alfresco.service.cmr.repository.ContentReader getReader(java.lang.String contentUrl)
Deprecated.
-
main
public static void main(java.lang.String[] args)
Deprecated.Tests the HTTP store against a given server.
Usage:HttpAlfrescoStore help Print the usage message- Parameters:
args- the program arguments
-
-