[ 
https://issues.apache.org/jira/browse/ARIES-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dominik Przybysz updated ARIES-1737:
------------------------------------
    Description: 
Find all type converters and put it in type-converters element as refs, e. g. 

{code}
@Singleton
public class Converter1 implements Converter { ... }
{code}

{code}
@Singleton
public class Converter2 implements Converter { ... }
{code}

will generate

{code}
<type-converters>
        <ref component-id="converter1"/>
        <ref component-id="converter2"/>
    </type-converters>
{code}

The default blueprintConverter will be omitted.

Without any custom type converters there will be no type-conveters element in 
generated xml.


  was:
Find all type converters and put it in type-converters element as refs, e. g. 

{code}
public class Converter1 implements Converter { ... }
{code}

{code}
public class Converter2 implements Converter { ... }
{code}



> Generate custom type converters in blueprint xml
> ------------------------------------------------
>
>                 Key: ARIES-1737
>                 URL: https://issues.apache.org/jira/browse/ARIES-1737
>             Project: Aries
>          Issue Type: New Feature
>          Components: Blueprint
>            Reporter: Dominik Przybysz
>            Assignee: Dominik Przybysz
>
> Find all type converters and put it in type-converters element as refs, e. g. 
> {code}
> @Singleton
> public class Converter1 implements Converter { ... }
> {code}
> {code}
> @Singleton
> public class Converter2 implements Converter { ... }
> {code}
> will generate
> {code}
> <type-converters>
>         <ref component-id="converter1"/>
>         <ref component-id="converter2"/>
>     </type-converters>
> {code}
> The default blueprintConverter will be omitted.
> Without any custom type converters there will be no type-conveters element in 
> generated xml.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to