[jboss-user] [jBPM Development] - Passing arguments to own identity Component

HuiSheng Xu do-not-reply at jboss.com
Wed Jul 21 09:52:03 EDT 2010


HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"Passing arguments to own identity Component"

To view the discussion, visit: http://community.jboss.org/message/553729#553729

--------------------------------------------------------------
Hi Narf,


>From your description,  I cannot find how to get the database id.  Maybe you send database id from HttpServletRequest,  Maybe you configured database id in a properties file.  Maybe something else.

So I just can tell you how to get variable from environment.  Here is the way to configure a variable in transaction-context and get it from in IdentitySession.


<transaction-context>
  <string name="databaseId" value="databaseId"/>
</transaction-context>



EnvironmentImpl.getFromCurrent("databaseId")


--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/553729#553729]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100721/d378cf00/attachment.html 


More information about the jboss-user mailing list