Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - Re: Does data In(jection) occur before
 or after @Create

scott.stark@jboss.org

2007-07-17


Hi

I have this SFSB that handles a two page conversations, assigns a value to the crId and also kicks off a @CreateProcess when the @End on the conversation is called.

@Stateful
| @Name("createChangeRequest")
| public class CreateChangeRequestAction implements CreateChangeRequest {
|
|   @In(required = false)
|   @Out(scope = BUSINESS_PROCESS, required = false)
|   ChangeRequest changerequest;
|
|  
|   @Out(scope = BUSINESS_PROCESS, required = false)
|   String crId;


And this SFSB that takes care of the process and tries to call the crId that was added to the Business Process scope above.

for some reason the crID never seems to get added to the BP context.... until i restart the server.....


@Stateful
| @Name("ticketSystem")
| public class TicketSystemAction implements TicketSystem {
|
|   @In()
|   @Out()
|   String crId;
|
|   @In()
|   @Out()
|   ChangeRequest changerequest;
|
|   @In(required = false)
|   RequestState requestState;
|
|   @Create
|   public void findit(){
|   System.out.println("crId");
|   }


it really bugs me when i cant get somthing to work.... OCD boy right here!

Cheers for any help

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065205
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.