You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Hugo Palma (JIRA)" <ji...@apache.org> on 2010/03/17 17:48:27 UTC

[jira] Created: (TAP5-1058) Provide shortcut Inject annotations for all annotation based object providers

Provide shortcut Inject annotations for all annotation based object providers
-----------------------------------------------------------------------------

                 Key: TAP5-1058
                 URL: https://issues.apache.org/jira/browse/TAP5-1058
             Project: Tapestry 5
          Issue Type: New Feature
          Components: tapestry-ioc
    Affects Versions: 5.2.0
            Reporter: Hugo Palma


I find that using the Inject annotation along with Value, Symbol, Path and others configured as object providers provides no additional value.
Usually you just end up with a list of code looking like this:

@Inject
@Symbol(SymbolConstants.PRODUCTION_MODE)
private boolean productionMode;

It would be great if instead we could use something like:

@InjectSymbol(SymbolConstants.PRODUCTION_MODE)
private boolean productionMode;

This would help reduced the growing amount of annotations that we have to use.
This is value for all annotation based object providers as described here http://tapestry.apache.org/tapestry5.1/tapestry-ioc/injection.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.