Package org.alfresco.filesys.repo
Class CommandExecutorImpl
- java.lang.Object
-
- org.alfresco.filesys.repo.CommandExecutorImpl
-
- All Implemented Interfaces:
CommandExecutor
public class CommandExecutorImpl extends java.lang.Object implements CommandExecutor
Content Disk Driver Command ExecutorExecutes commands against the repository.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classCommandExecutorImpl.PropagatingExceptionA wrapper for checked exceptions to be passed through the retrying transaction handler.
-
Constructor Summary
Constructors Constructor Description CommandExecutorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectexecute(org.alfresco.jlan.server.SrvSession sess, org.alfresco.jlan.server.filesys.TreeConnection tree, Command command)Execute the command.ExtendedDiskInterfacegetDiskInterface()RepositoryDiskInterfacegetRepositoryDiskInterface()TransactionServicegetTransactionService()voidinit()voidsetDiskInterface(ExtendedDiskInterface diskInterface)voidsetRepositoryDiskInterface(RepositoryDiskInterface repositoryDiskInterface)voidsetTransactionService(TransactionService transactionService)
-
-
-
Method Detail
-
init
public void init()
-
execute
public java.lang.Object execute(org.alfresco.jlan.server.SrvSession sess, org.alfresco.jlan.server.filesys.TreeConnection tree, Command command) throws java.io.IOExceptionDescription copied from interface:CommandExecutorExecute the command.- Specified by:
executein interfaceCommandExecutor- Returns:
- an object for return or null if there is no return value.
- Throws:
java.io.IOException
-
setTransactionService
public void setTransactionService(TransactionService transactionService)
-
getTransactionService
public TransactionService getTransactionService()
-
setRepositoryDiskInterface
public void setRepositoryDiskInterface(RepositoryDiskInterface repositoryDiskInterface)
-
getRepositoryDiskInterface
public RepositoryDiskInterface getRepositoryDiskInterface()
-
setDiskInterface
public void setDiskInterface(ExtendedDiskInterface diskInterface)
-
getDiskInterface
public ExtendedDiskInterface getDiskInterface()
-
-