/** * Change the filtering behaviour of this interceptor on the current thread. * Use this to switch off the filtering and pass references in and out as they * are found. * * @param ignoreMT <tt>true</tt> if the current thread is able to handle * MultiTenant-enabled references. * @return <tt>true</tt> if the current transaction is MT aware */ public static boolean setIgnoreMT(boolean ignoreMT) { boolean wasIgnoreMT = isIgnoreMT(); MultiTNodeServiceInterceptor.ignoreMT.set(Boolean.valueOf(ignoreMT)); return wasIgnoreMT; }
/** * Change the filtering behaviour of this interceptor on the current thread. * Use this to switch off the filtering and pass references in and out as they * are found. * * @param ignoreMT <tt>true</tt> if the current thread is able to handle * MultiTenant-enabled references. * @return <tt>true</tt> if the current transaction is MT aware */ public static boolean setIgnoreMT(boolean ignoreMT) { boolean wasIgnoreMT = isIgnoreMT(); MultiTNodeServiceInterceptor.ignoreMT.set(Boolean.valueOf(ignoreMT)); return wasIgnoreMT; }