Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.common
Class DirtyUpdateInvokeBridge

java.lang.Object
  extended by org.nuxeo.common.DirtyUpdateInvokeBridge

public class DirtyUpdateInvokeBridge
extends Object

This class is used for transmitting dirty tag context on server and client side from EJB invokes to the core API (NXP-4914).

Core API is loaded in a separate class loader and cannot be accessed by the interceptor. In any context, nuxeo common classes are always accessible by any class loaders. This is the only place identified for putting that kind of logic without modifying the server assemblies.

Author:
matic

Nested Class Summary
static class DirtyUpdateInvokeBridge.ThreadContext
           
 
Method Summary
static void clearThreadContext()
           
static DirtyUpdateInvokeBridge.ThreadContext getThreadContext()
           
static void putTagInThreadContext(Object tag)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

putTagInThreadContext

public static void putTagInThreadContext(Object tag)

clearThreadContext

public static void clearThreadContext()

getThreadContext

public static DirtyUpdateInvokeBridge.ThreadContext getThreadContext()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.