[
https://issues.apache.org/jira/browse/OAK-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664982#comment-13664982
]
Alex Parvulescu commented on OAK-836:
-------------------------------------
bq. Or we just add "dispose" to the MicroKernel API.
You don't have to, that's the point of the patch, you can plug in any mk impl
and still have the liberty to call dedicated methods.
For example the #dispose method on the logwrapper is a noop, I'm sure it was
not intended to hide away the #dispose method on the mongomk.
> MongoMk LogWrapper generics
> ---------------------------
>
> Key: OAK-836
> URL: https://issues.apache.org/jira/browse/OAK-836
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: mongomk
> Reporter: Alex Parvulescu
> Priority: Minor
> Attachments: OAK-836.patch
>
>
> I tried using the LogWrapper and I think that it could be improved by
> exposing the wrapped mk impl as the actual class not just a _MicroKernel_
> For example this helps with wrapping the _MongoMK_ and making sure the call
> to #dispose goes where it should (not to the noop from the LogWrapper).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira