Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify creation of new UIMAContext #387

Closed
reckart opened this issue Sep 5, 2024 · 0 comments
Closed

Simplify creation of new UIMAContext #387

reckart opened this issue Sep 5, 2024 · 0 comments
Assignees
Labels
⭐️ Enhancement Improvement or new feature for users
Milestone

Comments

@reckart
Copy link
Member

reckart commented Sep 5, 2024

Is your feature request related to a problem? Please describe.
The newUimaContext method in UIMAFramework requires three mandatory parameters. It is somewhat annoying to have to fill them in manually by calling other standard factory methods.

Describe the solution you'd like
The ability to obtain a context build where I can override default values for logger, resource manager, configuration manager if I want to, but which otherwise uses the default factories to obtain them.

@reckart reckart added the ⭐️ Enhancement Improvement or new feature for users label Sep 5, 2024
@reckart reckart added this to the 3.6.0 milestone Sep 5, 2024
@reckart reckart self-assigned this Sep 5, 2024
reckart added a commit that referenced this issue Sep 5, 2024
- Added builder
- Added another factory method without any arguments for the simplest case
- Deprecated old factory method
- Deprecated three-args init method in UimaContextAdmin and added a replacement default method to the interface
reckart added a commit that referenced this issue Sep 16, 2024
…new-UIMAContext

Issue #387: Simplify creation of new UIMAContext
@reckart reckart closed this as completed Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐️ Enhancement Improvement or new feature for users
Projects
None yet
Development

No branches or pull requests

1 participant