[jboss-user] [JBoss Seam] - precedence of injection

nebukadnezzar do-not-reply at jboss.com
Wed Sep 19 14:30:17 EDT 2007


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....

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086277#4086277

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086277



More information about the jboss-user mailing list