[jboss-user] [JBoss Portal] - Re: Calling UserModule service

cpage do-not-reply at jboss.com
Mon Nov 13 03:22:51 EST 2006


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



More information about the jboss-user mailing list