[ 
https://issues.apache.org/jira/browse/UIMA-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413892#comment-15413892
 ] 

Marshall Schor commented on UIMA-5043:
--------------------------------------

UIMA applications are pipelines having a UIMA context (some of which might be 
shared).

1 or more UIMA applications can be run in one JVM, under the same class loader; 
each one could have their own UIMA extension class loader for loading 
user-provided things (resources, annotator class, and JCas classes).

1 or more sets of UIMA applications can be run in one JVM using separate class 
loaders (think of a Web App server, running UIMA in servlets, each with an 
isolated classpath.

The two ways of specifying external overrides (  1) via 
-DUimaExternalOverrides, or 2) as a parameter in the additional-parameters 
argument for the produceAnalysisEngine method) provide a way to specify a 
not-global or a completely global version of this.  

The proposed API only addresses the completely global version; it would seem 
that non-UIMA code wanting access could easily be associated with a particular 
pipeline, and want to pick up the associated configuration for that pipeline, 
not a completely global one.

Maybe we could find a way to accomodate that?

> Provide method to access individual external override settings
> --------------------------------------------------------------
>
>                 Key: UIMA-5043
>                 URL: https://issues.apache.org/jira/browse/UIMA-5043
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Burn Lewis
>            Assignee: Burn Lewis
>            Priority: Minor
>             Fix For: 2.9.0SDK
>
>
> The framework loads the external override settings and uses them in any 
> configuration parameter that has an external override name attached,  Users 
> have asked for the ability to access these values directly without the 
> indirection of configuration parameter entries in descriptors.  Currently the 
> complete Settings object that holds all the external override settings loaded 
> by the framework is accessible via UimaContextAdmin.
> An improvement would be to allow individual values to be read using a method 
> in the UimaContext interface, perhaps: 
> String getExternalOverride(String name)
> String[] getExternalOverrideArray{String name)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to