When our user isn't logged in (the useraccountId=null) this factory returns null,.. This null valued thing seems to exist as a component in conversations. The factory isn't run, @In just receives an null value. Any ideas?
| @Factory(autoCreate = true, scope = ScopeType.STATELESS, value = "userAccount") | public UserAccount userAccountFactory() throws UserAccountDaoException { | | if (userAccountId != null) { | log.info("userAccountFactory returning useraccount"); | return userAccountDao.load(userAccountId); | } else { | log.info("userAccountFactory returning null"); | return null; | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081179#4081179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081179 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user