You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org> on 2006/11/19 20:07:38 UTC
[jira] Assigned: (TAPESTRY-392) Way to specify default
implementations for @Beans
[ http://issues.apache.org/jira/browse/TAPESTRY-392?page=all ]
Andreas Andreou reassigned TAPESTRY-392:
----------------------------------------
Assignee: (was: Andreas Andreou)
> Way to specify default implementations for @Beans
> -------------------------------------------------
>
> Key: TAPESTRY-392
> URL: http://issues.apache.org/jira/browse/TAPESTRY-392
> Project: Tapestry
> Issue Type: New Feature
> Components: Annotations
> Affects Versions: 4.0
> Reporter: Howard M. Lewis Ship
> Priority: Minor
>
> When attaching a @Bean annotation to a method whose return type is an interface, it is necessary to set the value attribute of the annotation to the class to be instantiated.
> It would be nice if there was a configuraiton point for mapping interfaces to implementation classes.
> This would allow
> @Bean
> public abstract IValidationDelegate getDelegate();
> To work, as long as we mapped IValidationDelegate to org.apache.tapestry.valid.ValidationDelegate somewhere.
> Of course, there needs to be the factory defaults / application overrides split as elsewhere.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org