Jake Maes created SAMZA-1005:
--------------------------------
Summary: 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
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)