[ https://issues.apache.org/jira/browse/JOHNZON-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg updated JOHNZON-217:
----------------------------------
Summary: Allow to plugin a custom BufferStrategies (was: Allow to plugin in custom BufferStrategies)
> Allow to plugin a custom BufferStrategies
> -----------------------------------------
>
> Key: JOHNZON-217
> URL: https://issues.apache.org/jira/browse/JOHNZON-217
> Project: Johnzon
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.12
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Priority: Major
> Fix For: 1.1.13
>
>
> BufferStrategy is right now an enum which contains a few pre-defined buffer strategies.
> For allowing custom BufferStrategies we should extract an interface out of it and have
a lookup with the current enum constants.
> Alternatively one could also configure a fully qualified class name of a custom BufferStrategy
which would be created via {{newInstance()}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
|