1 Reply Latest reply on Sep 19, 2007 4:35 PM by Matt Drees

    precedence of injection

    Johannes Stelzer Newbie

      is it possible to declare an ordering/precedence of my @In to make this work:

      @In
       private EntryHome entryHome;
      
       @In(scope=ScopeType.BUSINESS_PROCESS, required=false)
       public void setEntryId(Long id){
       if (id != null)
       entryHome.setEntryId(id);
       else
       entryHome.createInstance();
       }


      i'm getting an NPE from entryHome....