Class TenantActivationAspect

java.lang.Object
de.hybris.platform.acceleratorservices.dataimport.batch.aop.TenantActivationAspect

public class TenantActivationAspect extends Object
Aspect to activate the tenant in the current thread.
  • Constructor Details

    • TenantActivationAspect

      public TenantActivationAspect()
  • Method Details

    • execute

      public Object execute(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
      Invokes a method and with an activated tenant. If no tenant is activated, the tenant set during initialization is used.
      Parameters:
      pjp - proceeding join point
      Returns:
      result of the invocation
      Throws:
      Throwable