Class AlfrescoDiskDriver

java.lang.Object
org.alfresco.filesys.alfresco.AlfrescoDiskDriver
All Implemented Interfaces:
ExtendedDiskInterface, org.alfresco.jlan.server.core.DeviceInterface, org.alfresco.jlan.server.filesys.DiskInterface
Direct Known Subclasses:
AlfrescoTxDiskDriver, ContentDiskDriver2

public abstract class AlfrescoDiskDriver extends Object implements ExtendedDiskInterface
Alfresco Disk Driver Base Class

Provides common code to the Alfresco filesystem implementations.

Author:
gkspencer
  • Field Details

  • Constructor Details

    • AlfrescoDiskDriver

      public AlfrescoDiskDriver()
  • Method Details

    • getServiceRegistry

      public final ServiceRegistry getServiceRegistry()
      Return the service registry
      Returns:
      ServiceRegistry
    • getTransactionService

      public final TransactionService getTransactionService()
      Return the transaction service
      Returns:
      TransactionService
    • setServiceRegistry

      public void setServiceRegistry(ServiceRegistry serviceRegistry)
      Set the service registry
      Parameters:
      serviceRegistry - ServiceRegistry
    • setTransactionService

      public void setTransactionService(TransactionService transactionService)
      Parameters:
      transactionService - the transaction service
    • registerContext

      public void registerContext(org.alfresco.jlan.server.core.DeviceContext ctx) throws org.alfresco.jlan.server.core.DeviceContextException
      Registers a device context object for this instance of the shared device. The same DeviceInterface implementation may be used for multiple shares. In this base class, we initialize all desktop actions.
      Specified by:
      registerContext in interface ExtendedDiskInterface
      Parameters:
      ctx - the context
      Throws:
      org.alfresco.jlan.server.core.DeviceContextException