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.MethodInterceptorThrowablepublic 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 ExtensibleCopyright © 2005–2018 Alfresco Software. All rights reserved.