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

Navina Ramesh updated SAMZA-1005:
---------------------------------
    Fix Version/s: 0.11.0

> Refactor class instantiation code to a helper class. 
> -----------------------------------------------------
>
>                 Key: SAMZA-1005
>                 URL: https://issues.apache.org/jira/browse/SAMZA-1005
>             Project: Samza
>          Issue Type: Bug
>            Reporter: Jake Maes
>              Labels: newbie
>             Fix For: 0.11.0
>
>
> There are a number of places in the code where 
> ```Class.forName(...).instance()``` is used to instantiate a class by name. 
> We should refactor those all to a common helper class for modularity. 
> class ClassLoaderHelper<T> {
> ...
> public static T fromClassName(String klassName) {
>      ...
>      return (T) instance;
> }
> }



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

Reply via email to