juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayeshmantha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JUNEAU-29) Replace @BeanConstructor with @BeanParameter annotations.
Date Sun, 02 Dec 2018 02:56:00 GMT

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

Ayeshmantha commented on JUNEAU-29:
-----------------------------------

And [~jamesbognar] just to clarify.I was saying that we can use BeanConstructor like below

 
@BeanConstructor(properties="name,age") public Person(String name, int age) {    this.name
= name;    this.age = age; 
}
but we cant use it  like below with the properties attribute it has  
@BeanConstructor public Person(@BeanParam("name") String name, @BeanParam("age") int age)
{    this.name = name;    this.age = age; 
}
 

> Replace @BeanConstructor with @BeanParameter annotations.
> ---------------------------------------------------------
>
>                 Key: JUNEAU-29
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-29
>             Project: Juneau
>          Issue Type: Bug
>          Components: Code
>    Affects Versions: 6.1.0
>            Reporter: James Bognar
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message