org.alfresco.filesys.repo
Class CommandExecutorImpl

java.lang.Object
  extended by org.alfresco.filesys.repo.CommandExecutorImpl
All Implemented Interfaces:
CommandExecutor

public class CommandExecutorImpl
extends java.lang.Object
implements CommandExecutor

Content Disk Driver Command Executor

Executes commands against the repository.


Nested Class Summary
protected static class CommandExecutorImpl.PropagatingException
          A wrapper for checked exceptions to be passed through the retrying transaction handler.
 
Constructor Summary
CommandExecutorImpl()
           
 
Method Summary
 java.lang.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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandExecutorImpl

public CommandExecutorImpl()
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.IOException
Description copied from interface: CommandExecutor
Execute the command.

Specified by:
execute in interface CommandExecutor
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()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.