2 Replies Latest reply on May 15, 2007 10:39 AM by fernando_jmt

    @Create

    toni

      Hi,

      I'm using @Create to initialize a collection upon the creation of my SFSB.

      However, the method which I marked with the annotation is not being invoked.

      Does the method signature have to follow any conventions?

        • 1. Re: @Create

           

          "toni" wrote:
          Hi,

          I'm using @Create to initialize a collection upon the creation of my SFSB.


          You would have to use the @Factory annotation instead of @Create.

          @Factory("collectionName")
          public void fillCollection(){
          // bla bla bla
          }

          :)

          • 2. Re: @Create
            fernando_jmt

            Post some code in order to see how currently is.