public class FilesystemTransactionAdvice extends Object implements org.aopalliance.intercept.MethodInterceptor
Needs to let the checked exceptions that are specified on the JLAN interfaces through. In particular must avoid wrapping JLAN's checked exceptions with an AlfrescoRuntimeException (so must throw IOException etc)
DiskInterface
,
IOControlHandler
Modifier and Type | Class and Description |
---|---|
protected static class |
FilesystemTransactionAdvice.PropagatingException
A wrapper for checked exceptions to be passed through the retrying transaction handler.
|
Constructor and Description |
---|
FilesystemTransactionAdvice() |
Modifier and Type | Method and Description |
---|---|
TransactionService |
getTransactionService() |
Object |
invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) |
void |
setReadOnly(boolean readOnly) |
void |
setTransactionService(TransactionService transactionService) |
public void setReadOnly(boolean readOnly)
public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) throws IOException, org.alfresco.jlan.smb.SMBException, Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
IOException
org.alfresco.jlan.smb.SMBException
Throwable
public void setTransactionService(TransactionService transactionService)
public TransactionService getTransactionService()
Copyright © 2005–2017 Alfresco Software. All rights reserved.