pirk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ellison Anne Williams (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (PIRK-63) Generalize ResponderDriver to use a RespondLauncher class
Date Fri, 30 Sep 2016 23:20:20 GMT

     [ https://issues.apache.org/jira/browse/PIRK-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ellison Anne Williams closed PIRK-63.
-------------------------------------

> Generalize ResponderDriver to use a RespondLauncher class
> ---------------------------------------------------------
>
>                 Key: PIRK-63
>                 URL: https://issues.apache.org/jira/browse/PIRK-63
>             Project: PIRK
>          Issue Type: Improvement
>          Components: Responder
>    Affects Versions: 0.1.0
>            Reporter: DarinJ
>            Assignee: DarinJ
>            Priority: Minor
>             Fix For: 0.1.1
>
>
> Currently as discussed on the mailing list, the ResponderDriver uses a switch statement
based off a string in the CLI or properties file to determine the framework to launch.  This
is require a code change to the ResponderDriver for every framework added.
> The solution is to create a ResponderLauncher Interface which each framework overrides.
> {quote}
> public interface ResponderLauncher {
>   public run()
> }
> {quote}
> To do this, we the change the string specifying the framework to the name of the class
implementing ResponderLauncher i.e. SparkResponderLauncher and instantiate via reflection.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message