You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2010/12/23 17:18:00 UTC
[jira] Created: (FELIX-2742) Constructor injection of service
dependencies
Constructor injection of service dependencies
---------------------------------------------
Key: FELIX-2742
URL: https://issues.apache.org/jira/browse/FELIX-2742
Project: Felix
Issue Type: New Feature
Components: iPOJO
Reporter: Clement Escoffier
Assignee: Clement Escoffier
Fix For: iPOJO-1.8.0
Allow services to be injected into constructor parameters
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-2742) Constructor injection of service
dependencies
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clement Escoffier resolved FELIX-2742.
--------------------------------------
Resolution: Fixed
> Constructor injection of service dependencies
> ---------------------------------------------
>
> Key: FELIX-2742
> URL: https://issues.apache.org/jira/browse/FELIX-2742
> Project: Felix
> Issue Type: New Feature
> Components: iPOJO
> Reporter: Clement Escoffier
> Assignee: Clement Escoffier
> Fix For: iPOJO-1.8.0
>
>
> Allow services to be injected into constructor parameters
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-2742) Constructor injection of service
dependencies
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974650#action_12974650 ]
Clement Escoffier commented on FELIX-2742:
------------------------------------------
Resolved in trunk:
@Component
@Instantiate
public class Test {
public Test(
@Requires LogService log,
@Property(value="this is injected using a constructor parameter") String message,
@Property(value="2") int level,
@Requires(optional=true) Runnable run,
@Property(value="{1,2,3}") String[] add
) {
...
}
> Constructor injection of service dependencies
> ---------------------------------------------
>
> Key: FELIX-2742
> URL: https://issues.apache.org/jira/browse/FELIX-2742
> Project: Felix
> Issue Type: New Feature
> Components: iPOJO
> Reporter: Clement Escoffier
> Assignee: Clement Escoffier
> Fix For: iPOJO-1.8.0
>
>
> Allow services to be injected into constructor parameters
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.