You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Brian Cho (JIRA)" <ji...@apache.org> on 2015/07/13 05:05:04 UTC

[jira] [Commented] (REEF-471) Support External Constructors in ConfigurationModule

    [ https://issues.apache.org/jira/browse/REEF-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624146#comment-14624146 ] 

Brian Cho commented on REEF-471:
--------------------------------

Thanks [~gyewonlee] for creating the issue.

I'll add [~markus.weimer]'s suggestion on dev@ for a workaround before this issue is implemented:
{noformat}
As a work-around: You can define yourself a wrapping interface with a 
method `getSampler()` or such which you can then use in named parameters 
as usual. 
{noformat}

> Support External Constructors in ConfigurationModule
> ----------------------------------------------------
>
>                 Key: REEF-471
>                 URL: https://issues.apache.org/jira/browse/REEF-471
>             Project: REEF
>          Issue Type: Improvement
>          Components: Tang
>            Reporter: Gyewon Lee
>            Assignee: Gyewon Lee
>
> This issue has been created to support binding ExternalConstructors using ConfigurationModule.
> ExternalConstructor helps users to specify constructors for legacy classes, but it's currently not supported in ConfigurationModule, though.



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