[
https://issues.apache.org/jira/browse/UIMA-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462335
]
Adam Lally commented on UIMA-116:
---------------------------------
Update:
There is related discussion currently onging about refactoring the CAS
interface and in the process creating a new CasView interface.
Also, the plan is to support single-view components without requiring any code
change. This would be done by deprecating but not removing the view-related
(sofa and index access) methods on the CAS interface, and having them
auotmatically forward to the "current" view.
> Always deliver the base CAS to the process method
> -------------------------------------------------
>
> Key: UIMA-116
> URL: https://issues.apache.org/jira/browse/UIMA-116
> Project: UIMA
> Issue Type: Improvement
> Components: Core Java Framework
> Affects Versions: 2.1
> Environment: UIMA components
> Reporter: Eddie Epstein
> Assigned To: Adam Lally
> Fix For: 2.1
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira