com.mf.kennewick.ejb
Class KennewickTransactionSessionUtil

java.lang.Object
  extended bycom.mf.kennewick.ejb.KennewickTransactionSessionUtil

public class KennewickTransactionSessionUtil
extends java.lang.Object

Utility class for KennewickTransactionSession.


Constructor Summary
KennewickTransactionSessionUtil()
           
 
Method Summary
static java.lang.String generateGUID(java.lang.Object o)
          A 32 byte GUID generator (Globally Unique ID).
static KennewickTransactionSessionLocalHome getLocalHome()
          Obtain local home interface from default initial context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KennewickTransactionSessionUtil

public KennewickTransactionSessionUtil()
Method Detail

getLocalHome

public static KennewickTransactionSessionLocalHome getLocalHome()
                                                         throws javax.naming.NamingException
Obtain local home interface from default initial context

Returns:
Local home interface for KennewickTransactionSession. Lookup using COMP_NAME
Throws:
javax.naming.NamingException

generateGUID

public static final java.lang.String generateGUID(java.lang.Object o)
A 32 byte GUID generator (Globally Unique ID). These artificial keys SHOULD NOT be seen by the user, not even touched by the DBA but with very rare exceptions, just manipulated by the database and the programs. Usage: Add an id field (type java.lang.String) to your EJB, and add setId(XXXUtil.generateGUID(this)); to the ejbCreate method.



Copyright © 2004 Media Fortress, LLC, LLC. Licensed for commercial use under the Apache 2.0 License.