public class FilesystemTransactionAdvice
extends java.lang.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)
| 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() |
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) |
void |
setReadOnly(boolean readOnly) |
void |
setTransactionService(TransactionService transactionService) |
public void setReadOnly(boolean readOnly)
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws java.io.IOException,
org.alfresco.jlan.smb.SMBException,
java.lang.Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorjava.io.IOExceptionorg.alfresco.jlan.smb.SMBExceptionjava.lang.Throwablepublic void setTransactionService(TransactionService transactionService)
public TransactionService getTransactionService()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.