Adam Lally (JIRA) wrote:
<snip> Currently there is a distinction made for "single view" and "multiple view"
components. The UIMA architecture standard proposes that all components are multiple view components and be
delivered a handle to the base CAS, and the component retrieves views as required. The change to existing
"single view" component would be to add one line of code in the process method: cas =
passInCas.getView(), which would return the View currently given to these components as determined by Sofa mapping.
At one point we were discussing having the framework set the "current
view" into the CAS before calling the process method - as a way of
easing the transition.
How will that work with the API re-factorings? Or did we decide to give
up on that idea?
-Marshall