[
https://issues.apache.org/jira/browse/PHOENIX-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16586623#comment-16586623
]
Josh Elser commented on PHOENIX-4856:
-------------------------------------
Thanks for filing, [~karanmehta93]!
> Provide a better way for users to plug their specific implementations
> ---------------------------------------------------------------------
>
> Key: PHOENIX-4856
> URL: https://issues.apache.org/jira/browse/PHOENIX-4856
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Karan Mehta
> Priority: Major
>
> Phoenix currently uses InstanceResolver to resolve the implementations of
> particular interface on the classpath. InstanceResolver internally uses
> Java's ServiceLoader.
> To expose this outside, phoenix currently creates various Factory classes
> like RemoteUserExtractorFactory and ServerCustomizersFactory. Using this way
> is adding a lot of boiler plate code to QueryServer.java
> This Jira is to discuss potential ways in which we can undo this hack and
> provide a cleaner way for users.
> FYI. [~elserj]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)