You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Karan Mehta (JIRA)" <ji...@apache.org> on 2018/08/20 22:48:01 UTC

[jira] [Created] (PHOENIX-4856) Provide a better way for users to plug their specific implementations

Karan Mehta created PHOENIX-4856:
------------------------------------

             Summary: 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


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)