[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tobias Mattsson reopened MAGNOLIA-4648:
---------------------------------------


* Please clarify in the javadoc of @N2B how to use it, i assume its used on a 
setter to specify the transformer to use on the corresponding node?
* When creating the transformer to use don't create the instance directly 
instead let the ComponentProvider do it so that the instance can benefit from 
dependency injection.
* @N2B isn't a very good name, would be better if it was something like 
@Transformer, @Transformed, @TransformedBy, @NodeTransformer and has just a 
property named value so you didnt have to spell out 
transformer=MyTransformer.class

> Node2Bean: Allow specifying transformers via annotation
> -------------------------------------------------------
>
>                 Key: MAGNOLIA-4648
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4648
>             Project: Magnolia
>          Issue Type: Improvement
>      Security Level: Public
>            Reporter: Jaroslav Simak
>            Assignee: Jaroslav Simak
>             Fix For: 5.0 Alpha1 s009
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to