Package org.apache.xmlbeans
Class XmlFactoryHook.ThreadContext
java.lang.Object
org.apache.xmlbeans.XmlFactoryHook.ThreadContext
- Enclosing interface:
XmlFactoryHook
Used to manage the XmlFactoryHook for the current thread.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static XmlFactoryHook
getHook()
Returns the current thread's hook, or null if none.static void
setHook
(XmlFactoryHook hook) Sets the hook for the current thread.
-
Method Details
-
clearThreadLocals
public static void clearThreadLocals() -
getHook
Returns the current thread's hook, or null if none. -
setHook
Sets the hook for the current thread.
-