public class CommandExecutorImpl extends Object implements CommandExecutor
Executes commands against the repository.
Modifier and Type | Class and Description |
---|---|
protected static class |
CommandExecutorImpl.PropagatingException
A wrapper for checked exceptions to be passed through the retrying transaction handler.
|
Constructor and Description |
---|
CommandExecutorImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(org.alfresco.jlan.server.SrvSession sess,
org.alfresco.jlan.server.filesys.TreeConnection tree,
Command command)
Execute the command.
|
ExtendedDiskInterface |
getDiskInterface() |
RepositoryDiskInterface |
getRepositoryDiskInterface() |
TransactionService |
getTransactionService() |
void |
init() |
void |
setDiskInterface(ExtendedDiskInterface diskInterface) |
void |
setRepositoryDiskInterface(RepositoryDiskInterface repositoryDiskInterface) |
void |
setTransactionService(TransactionService transactionService) |
public void init()
public Object execute(org.alfresco.jlan.server.SrvSession sess, org.alfresco.jlan.server.filesys.TreeConnection tree, Command command) throws IOException
CommandExecutor
execute
in interface CommandExecutor
IOException
public void setTransactionService(TransactionService transactionService)
public TransactionService getTransactionService()
public void setRepositoryDiskInterface(RepositoryDiskInterface repositoryDiskInterface)
public RepositoryDiskInterface getRepositoryDiskInterface()
public void setDiskInterface(ExtendedDiskInterface diskInterface)
public ExtendedDiskInterface getDiskInterface()
Copyright © 2005–2017 Alfresco Software. All rights reserved.