[
https://issues.apache.org/jira/browse/FELIX-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185043#comment-14185043
]
Pierre De Rop edited comment on FELIX-4614 at 10/27/14 2:09 PM:
----------------------------------------------------------------
Hello Paul;
Is it sufficient if we pass the Component as a parameter to the
Factory.create() method ?
(maybe you could provide a sample code in order to ensure that I correctly
understand the usecase ? thanks)
was (Author: pderop):
Hello Paul;
Is is sufficient if we pass the Component as a parameter to the
Factory.create() method ?
(maybe you could provide a sample code in order to ensure that I correctly
understand the usecase ? thanks)
> Factory create() method should have access to the component definition
> ----------------------------------------------------------------------
>
> Key: FELIX-4614
> URL: https://issues.apache.org/jira/browse/FELIX-4614
> Project: Felix
> Issue Type: Improvement
> Components: Dependency Manager
> Reporter: Paul Bakker
>
> Currently the factory mechanism uses a _create()_ method without arguments.
> Because of this there is not enough context to create instances. For example
> creating a Proxy is not possible because we don't know which interface to use
> for the Proxy.
> The _create()_ method should support an argument to get access to the
> component definition.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)