Nuxeo Enterprise Platform 5.4

org.nuxeo.common
Class DirtyUpdateInvokeBridge

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

public class DirtyUpdateInvokeBridge
extends java.lang.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
           
 
Constructor Summary
DirtyUpdateInvokeBridge()
           
 
Method Summary
static void clearThreadContext()
           
static DirtyUpdateInvokeBridge.ThreadContext getThreadContext()
           
static void putTagInThreadContext(java.lang.Object tag)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirtyUpdateInvokeBridge

public DirtyUpdateInvokeBridge()
Method Detail

putTagInThreadContext

public static void putTagInThreadContext(java.lang.Object tag)

clearThreadContext

public static void clearThreadContext()

getThreadContext

public static DirtyUpdateInvokeBridge.ThreadContext getThreadContext()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.