TransactionManager tm;
  |             try {
  |                     tm = (TransactionManager)new 
InitialContext().lookup("java:/TransactionManager");               
  |                     TypeX x = (TypeX)Transactions.required(tm, new 
Transactions.Runnable()
  |             {
  |                     public Object run() throws Exception
  |                     { ....return something in TypeX

look in the UserPortlet Code or in the IdentityLoginModule Code how they use 
UserModule services.

regards,



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985334
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to