public class MultiTNodeServiceInterceptor
extends org.springframework.aop.support.DelegatingIntroductionInterceptor
Constructor and Description |
---|
MultiTNodeServiceInterceptor() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
static boolean |
isIgnoreMT() |
static boolean |
setIgnoreMT(boolean ignoreMT)
Change the filtering behaviour of this interceptor on the current thread.
|
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService) |
doProceed
getInterfaces, implementInterfacesOnObject, implementsInterface, isMethodOnIntroducedInterface, suppressInterface
public static boolean setIgnoreMT(boolean ignoreMT)
ignoreMT
- true if the current thread is able to handle
MultiTenant-enabled references.public static boolean isIgnoreMT()
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws java.lang.Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
invoke
in class org.springframework.aop.support.DelegatingIntroductionInterceptor
java.lang.Throwable
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.