public class LockableAspectInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor, Extensible
This interceptor checks for EPHEMERAL lock directly - MNT-10477 fix.
Constructor and Description |
---|
LockableAspectInterceptor()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
disableForThread()
Disables the interceptor for the current thread.
|
void |
enableForThread()
Enables the interceptor for the current thread.
|
<T extends Trait> |
getTrait(Class<? extends T> traitAPI) |
void |
init() |
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
void |
setAuthenticationService(AuthenticationService authenticationService) |
void |
setLockService(LockService lockService) |
void |
setLockStore(LockStore lockStore) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
public LockableAspectInterceptor()
public void init()
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
Throwable
public void enableForThread()
disabled
thread.public void disableForThread()
enableForThread()
.public void setLockStore(LockStore lockStore)
public void setAuthenticationService(AuthenticationService authenticationService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setLockService(LockService lockService)
public <T extends Trait> ExtendedTrait<T> getTrait(Class<? extends T> traitAPI)
getTrait
in interface Extensible
Copyright © 2005–2017 Alfresco Software. All rights reserved.