# com.bea.xml
XmlFactoryHook.ThreadContext Class

public static final class XmlFactoryHook.ThreadContext
extends `Object`

Used to manage the XmlFactoryHook for the current thread.

Hierarchy
  `Object`
  `XmlFactoryHook.ThreadContext`

Enclosing interface
  `XmlFactoryHook`

## Method Summary

`public static `XmlFactoryHook`` | `getHook`() Returns the current thread's hook, or null if none.
`public static void` | `setHook`(`XmlFactoryHook` hook) Sets the hook for the current thread.

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Method Detail

### getHook() Method

    public static XmlFactoryHook getHook()

Returns the current thread's hook, or null if none.

### setHook(XmlFactoryHook) Method

    public static void setHook(XmlFactoryHook hook)

Sets the hook for the current thread.