You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/06/16 03:03:48 UTC

[jira] Commented: (TAPESTRY-273) Autowire Hivemind services into pages or components

    [ http://issues.apache.org/jira/browse/TAPESTRY-273?page=comments#action_12313771 ] 

Howard M. Lewis Ship commented on TAPESTRY-273:
-----------------------------------------------

Auto-wiring is somewhat doable, I think.  I think I prefer to be explicit.  Also, my latest "trick", using annotations + interfaces to "mix in" common injections, may suit your needs.

> Autowire Hivemind services into pages or components
> ---------------------------------------------------
>
>          Key: TAPESTRY-273
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-273
>      Project: Tapestry
>         Type: New Feature
>   Components: Framework
>     Versions: 4.0
>     Reporter: Richard Hensley
>     Priority: Minor

>
> Allow autowiring of HiveMind services into pages and components. 
> Comments from HLS:
> You can inject anything you can name (service:, configuration: spring:).  I can't see why we couldn't make the injection code (InjectPropertyWorker) smart enough to autowire a service if no value is provided for the object attribute of an <inject> element.  

-- 
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org