Uses of Interface
org.apache.uima.UimaContext
Packages that use UimaContext
Package
Description
Apache UIMA
Implementation and Low-Level API for the CAS Interfaces.
uimaFIT-enhanced base classes for UIMA components and some simple components.
Reflection-based context and dependency injection.
Example for an UIMA-based experiment running an analysis and evaluating the results.
Factories to create different kinds of UIMA resource specifiers.
INTERNAL API - May change without further notice.
Apache UIMA internals
Interfaces for
Resources
and ResourceSpecifiers
.-
Uses of UimaContext in org.apache.uima
Subinterfaces of UimaContext in org.apache.uimaModifier and TypeInterfaceDescriptioninterface
Admin interface to the UIMA Context.Methods in org.apache.uima that return UimaContextModifier and TypeMethodDescriptionstatic UimaContext
UimaContextHolder.getContext()
Get the UimaContext for this threadstatic UimaContext
UimaContextHolder.setContext
(UimaContext uimaContext) Sets the UimaContext for the current thread.Methods in org.apache.uima with parameters of type UimaContextModifier and TypeMethodDescriptionstatic UimaContext
UimaContextHolder.setContext
(UimaContext uimaContext) Sets the UimaContext for the current thread. -
Uses of UimaContext in org.apache.uima.adapter.vinci
Fields in org.apache.uima.adapter.vinci declared as UimaContextConstructors in org.apache.uima.adapter.vinci with parameters of type UimaContextModifierConstructorDescriptionCASTransportable
(CAS cas, OutOfTypeSystemData outOfTypeSystemData, UimaContext uimaContext, boolean includeDocText) This constructor is used on the client side, where we have a dedicated CAS instance for the request.CASTransportable
(CasPool casPool, OutOfTypeSystemData outOfTypeSystemData, UimaContext uimaContext, boolean includeDocText) This constructor is used on the service side - a CAS Pool reference is provided. -
Uses of UimaContext in org.apache.uima.analysis_component
Methods in org.apache.uima.analysis_component that return UimaContextModifier and TypeMethodDescriptionprotected final UimaContext
AnalysisComponent_ImplBase.getContext()
Gets the UimaContext for this AnalysisComponent.Methods in org.apache.uima.analysis_component with parameters of type UimaContextModifier and TypeMethodDescriptionvoid
AnalysisComponent_ImplBase.initialize
(UimaContext aContext) void
AnalysisComponent.initialize
(UimaContext aContext) Performs any startup tasks required by this component. -
Uses of UimaContext in org.apache.uima.analysis_engine.impl
Methods in org.apache.uima.analysis_engine.impl that return UimaContextMethods in org.apache.uima.analysis_engine.impl with parameters of type UimaContextModifier and TypeMethodDescriptionprotected void
AnalysisEngineImplBase.callInitializeMethod
(AnalysisComponent component, UimaContext context) -
Uses of UimaContext in org.apache.uima.analysis_engine.impl.compatibility
Methods in org.apache.uima.analysis_engine.impl.compatibility with parameters of type UimaContextModifier and TypeMethodDescriptionvoid
AnnotatorAdapter.initialize
(UimaContext aContext) void
CasConsumerAdapter.initialize
(UimaContext aContext) void
CollectionReaderAdapter.initialize
(UimaContext aContext) -
Uses of UimaContext in org.apache.uima.cas.impl
Constructors in org.apache.uima.cas.impl with parameters of type UimaContextModifierConstructorDescriptionXCASDeserializer
(TypeSystem ts, UimaContext uimaContext) Create a new deserializer from a type system.XCASSerializer
(TypeSystem ts, UimaContext uimaContext) XmiCasDeserializer
(TypeSystem ts, UimaContext uimaContext) Create a new deserializer from a type system.XmiCasSerializer
(TypeSystem ts, UimaContext uimaContext) Deprecated.XmiCasSerializer
(TypeSystem ts, UimaContext uimaContext, Map<String, String> nsUriToSchemaLocationMap) Deprecated.UseXmiCasSerializer(TypeSystem, Map)
instead. -
Uses of UimaContext in org.apache.uima.fit.component
Methods in org.apache.uima.fit.component with parameters of type UimaContextModifier and TypeMethodDescriptionvoid
CasAnnotator_ImplBase.initialize
(UimaContext context) void
CasCollectionReader_ImplBase.initialize
(UimaContext context) This method should be overwritten by subclasses.void
CasConsumer_ImplBase.initialize
(UimaContext context) void
CasDumpWriter.initialize
(UimaContext context) void
CasMultiplier_ImplBase.initialize
(UimaContext context) void
JCasAnnotator_ImplBase.initialize
(UimaContext context) void
JCasCollectionReader_ImplBase.initialize
(UimaContext context) This method should be overwritten by subclasses.void
JCasConsumer_ImplBase.initialize
(UimaContext context) void
JCasMultiplier_ImplBase.initialize
(UimaContext context) -
Uses of UimaContext in org.apache.uima.fit.component.initialize
Methods in org.apache.uima.fit.component.initialize with parameters of type UimaContextModifier and TypeMethodDescriptionstatic void
ConfigurationParameterInitializer.initialize
(Object component, UimaContext context) Initialize a component from anUimaContext
This code can be a little confusing because the configuration parameter annotations are used in two contexts: in describing the component and to initialize member variables from aUimaContext
.static <T> void
ExternalResourceInitializer.initialize
(T object, UimaContext context) Configure a component from the given context. -
Uses of UimaContext in org.apache.uima.fit.examples.experiment.pos
Methods in org.apache.uima.fit.examples.experiment.pos with parameters of type UimaContext -
Uses of UimaContext in org.apache.uima.fit.factory
Methods in org.apache.uima.fit.factory that return UimaContextModifier and TypeMethodDescriptionstatic UimaContext
UimaContextFactory.createUimaContext
(Object... configurationParameters) Create a new UimaContext with the given configuration parameters set. -
Uses of UimaContext in org.apache.uima.fit.factory.initializable
Methods in org.apache.uima.fit.factory.initializable with parameters of type UimaContextModifier and TypeMethodDescriptionstatic <T> T
InitializableFactory.create
(UimaContext context, Class<? extends T> cls) static <T> T
InitializableFactory.create
(UimaContext context, String className, Class<T> superClass) Provides a way to create an instance of T.void
Initializable.initialize
(UimaContext context) This method will be called automatically if the implementing class is instantiated with InitializableFactory.static void
InitializableFactory.initialize
(Object object, UimaContext context) -
Uses of UimaContext in org.apache.uima.fit.internal
Methods in org.apache.uima.fit.internal with parameters of type UimaContextModifier and TypeMethodDescriptionstatic ClassLoader
ClassLoaderUtils.findClassloader
(UimaContext aContext) Deprecated.Looks up a suitable classloader in the following order: The extension classloader of theResourceManager
associated with the givenUimaContext
(if any) SeeClassLoaderUtils.findClassloader(ResourceManager)
-
Uses of UimaContext in org.apache.uima.flow
Subinterfaces of UimaContext in org.apache.uima.flowModifier and TypeInterfaceDescriptioninterface
A subtype ofUimaContext
used byFlowController
components. -
Uses of UimaContext in org.apache.uima.flow.impl
Classes in org.apache.uima.flow.impl that implement UimaContextModifier and TypeClassDescriptionclass
Implementation of FlowControllerContext. -
Uses of UimaContext in org.apache.uima.impl
Classes in org.apache.uima.impl that implement UimaContextModifier and TypeClassDescriptionclass
Reference implementation ofAnnotatorContext
.class
Implementation of the rootUimaContext
.class
Instances of this class shared by multiple threadsMethods in org.apache.uima.impl with parameters of type UimaContextModifier and TypeMethodDescriptionstatic void
Util.withContextHolder
(UimaContext context, Runnable userCode) Calls userCode with specified context, then restores the context holderstatic void
Util.withContextHolderX
(UimaContext context, Runnable_withException userCode) Calls userCode with specified context, then restores the context holder -
Uses of UimaContext in org.apache.uima.internal.util
Methods in org.apache.uima.internal.util with parameters of type UimaContextModifier and TypeMethodDescriptionstatic ClassLoader
ClassLoaderUtils.findClassLoader
(UimaContext aContext) Looks up a suitable class loader in the following order: The extension class loader of theResourceManager
associated with the givenUimaContext
(if any) SeeClassLoaderUtils.findClassLoader(ResourceManager)
-
Uses of UimaContext in org.apache.uima.resource
Methods in org.apache.uima.resource that return UimaContextModifier and TypeMethodDescriptionResource_ImplBase.getUimaContext()
Resource.getUimaContext()
Gets the UIMA Context for this Resource.Resource_ImplBase.setContextHolder()
-
Uses of UimaContext in org.apache.uima.resource.impl
Methods in org.apache.uima.resource.impl with parameters of type UimaContextModifier and TypeMethodDescriptionprotected void
CasManager_impl.populateCasToCasPoolAndUimaContextMaps
(CasPool aCasPool, UimaContext aUimaContext) -
Uses of UimaContext in org.apache.uima.tools.components
Methods in org.apache.uima.tools.components with parameters of type UimaContext -
Uses of UimaContext in org.apache.uima.uimacpp
Methods in org.apache.uima.uimacpp with parameters of type UimaContext
XmiCasSerializer(TypeSystem)
instead.