This content has been marked as final.
Show 1 reply
-
1. Re: Debug.seam page, the Business process context and data b
harpritt Jul 17, 2007 4:45 AM (in response to harpritt)Update: My first query about the empty business process context within the debug page has been poo poo'd, i had to click into the conversation id to see the business process context components.... so thats all cool.
.... .my only thing now is that the string stored in the Business Process Context does not seem to get injected before the @Create annotated method is called.... even though in the JBoss Seam book Simplicity and Power beyond Java EE its states P93
"The class constructor is called before the component is object is created while the @Create is called after class creation. The contructor would not have access to Seam injected objects such as the EntityManager"@In(required = false) @Out(scope = BUSINESS_PROCESS, required = false) String crId .... ..... @Create public void find(){ System.out.println(crId + " the create works"); }
Cheers for any pointers