kevoree / kevoree-library

Kevoree base library
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Doc for @KevoreeInject et @Param #1

Closed maxleiko closed 8 years ago

maxleiko commented 10 years ago

Default @Param & @KevoreeInject behavior should be detailed in Kevoree Documentation

gnain commented 10 years ago

What do you mean ? Could you give some example or explain what information you did not find ?

maxleiko commented 10 years ago

The issue is just a reminder for @dukeboard =)
The purpose of the doc is to explain to end users how to use those anos.

Like:

    @Param(optional = false, defaultValue = "3042")
    private Integer port;
    // do I have the right to use "private" with my dictionary parameters ?
    @Param(optional = false, defaultValue = "3042")
    private Integer port = 3042; // can I set the default value here ?
                                 // or do I need to use defaultValue in ano ?
                                 // if I use both, what's going to happen?
    @KevoreeInject
    public ModelService modelService;
    // can I use this outside of an entity class ? (meaning a @XXXType class)

etc =)

dukeboard commented 10 years ago

ok will be done into the next Kevoree book documentation