public class UimaContextHolder extends Object
Constructor and Description |
---|
UimaContextHolder() |
Modifier and Type | Method and Description |
---|---|
static void |
clearContext()
Clears the UimaContext entry for the current thread
|
static UimaContext |
getContext()
Get the UimaContext for this thread
|
static UimaContext |
setContext(UimaContext uimaContext)
Sets the UimaContext for the current thread.
|
public static UimaContext getContext()
public static UimaContext setContext(UimaContext uimaContext)
NOTE - Should be used only by the UIMA Framework.
uimaContext
- - new UimaContext for this threadpublic static void clearContext()
NOTE - Should be used only by the UIMA Framework.
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.