polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (POLYGENE-257) Custom IdentityGenerator or Serialization hidden by default assemblers
Date Sat, 27 May 2017 00:38:04 GMT

    [ https://issues.apache.org/jira/browse/POLYGENE-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16027068#comment-16027068
] 

Niclas Hedhman commented on POLYGENE-257:
-----------------------------------------

{code}
// on the ModuleAssembly:
moduleAssembly.defaultServices()
        .visibleIn( Visibility.application );
{code}

I am Ok with the above.

But for

{code}
moduleAssembly.defaultIdentityGenerator()
        .visibleIn( Visibility.application );
{code}

I think the convenience is too marginal compared with;

{code}
new IdentityGeneratorAssembler.assemble( module );
{code}

or even

{code}
module.services(IdentitityGenerator.class)
    .withMixin( DefaultIdentityGeneratorMixin.class )
    ;.visibleIn( Visibility.application );
{code}

> Custom IdentityGenerator or Serialization hidden by default assemblers
> ----------------------------------------------------------------------
>
>                 Key: POLYGENE-257
>                 URL: https://issues.apache.org/jira/browse/POLYGENE-257
>             Project: Polygene
>          Issue Type: Bug
>            Reporter: Paul Merlin
>            Assignee: Paul Merlin
>             Fix For: 3.0.0
>
>
> See https://lists.apache.org/thread.html/9b28a67e75cb8952202d0b0b029de53fc19257b733907408ba20ccde@%3Cdev.polygene.apache.org%3E



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message