Package org.alfresco.filesys.repo
Class CommandExecutorImpl
- java.lang.Object
-
- org.alfresco.filesys.repo.CommandExecutorImpl
-
- All Implemented Interfaces:
CommandExecutor
public class CommandExecutorImpl extends 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 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 Object execute(org.alfresco.jlan.server.SrvSession sess, org.alfresco.jlan.server.filesys.TreeConnection tree, Command command) throws IOException
Description copied from interface:CommandExecutorExecute the command.- Specified by:
executein interfaceCommandExecutor- Returns:
- an object for return or null if there is no return value.
- Throws:
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()
-
-