Used to get the UserTransaction.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro
Method Summary
public static UserTransaction
getInternalUserTransaction() Method used to get the transaction object (Registry access)
It should be used by an external Component (like test case).
public static UserTransaction
getUserTransaction() This method use the java: naming
Does the lookup and returns an UserTransaction.
Method Detail
getInternalUserTransaction
public static UserTransaction getInternalUserTransaction() throws NamingException(Code)
Method used to get the transaction object (Registry access)
It should be used by an external Component (like test case).
Does the lookup and returns an UserTransaction.
the userTransation instance. throws: NamingException - if a naming error occurs.
This method use the java: naming
Does the lookup and returns an UserTransaction.
the userTransation instance. throws: NamingException - if a naming error occurs.