[
https://issues.apache.org/jira/browse/TINKERPOP3-771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette closed TINKERPOP3-771.
---------------------------------------
Resolution: Implemented
Fix Version/s: 3.1.0-incubating
Implemented a bit differently that described in that the {{GryoPool}} checks
for a static {{getInstance()}} method on the specified {{IoRegistry}} instance.
It then falls back to trying a zero-arg constructor.
> IoRegistry Instantiation With GryoPool
> --------------------------------------
>
> Key: TINKERPOP3-771
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-771
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: io
> Affects Versions: 3.0.0-incubating
> Reporter: stephen mallette
> Assignee: stephen mallette
> Fix For: 3.0.1-incubating, 3.1.0-incubating
>
>
> The {{GryoPool}} uses reflection to instantiate the {{IoRegistry}} from
> configuration. Right now it does this via {{newInstance}}. Typically the
> {{IoRegistry}} doesn't need to be instantiated and can have a private
> constructor, so a singleton is likely. Modify instantiation in {{GryoPool}}
> to support checking for a {{INSTANCE}} field with the singleton.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)