commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fasih" <fasihullah.ask...@baypackets.com>
Subject Re: [scxml] SCXMLExecutor#getSCInstance ... any chance to make it public?
Date Wed, 19 Apr 2006 22:20:33 GMT
Yup,
I have done exactly the same thing

exec = new SCXMLExecutor(evaluator, ed, trc);
  Data scenarioData = new Data();
  scenarioData.setName(SCENARIO_ID_PARAM);
  scenarioData.setExpr("'"+id+"'");
  doc.getDatamodel().addData(scenarioData);

I guess that should answer your question.

+Fasih

----- Original Message ----- 
From: "Nestor Urquiza" <nestoru@yahoo.com>
To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
Sent: Wednesday, April 19, 2006 5:03 PM
Subject: [scxml] SCXMLExecutor#getSCInstance ... any chance to make it 
public?


> Hello,
> I am planning to store just the SCXMLExecutor in a per
> session basis. Then of course I need to have access
> from my "bridge" to SCInstance#getRootContext to
> obtain the context needed to set variables from my
> specific-code.
> The problem is right now the
> SCXMLExecutor#getSCInstance has package access
> Can we make it public? Or there is a better way to
> accomplish what I am trying to do???
> Thanks a lot!
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message