br.gov.mj.frameworkprocessos.processo.ejb
Class CaracteristicasDocumentoFacadeUtil

java.lang.Object
  extended by br.gov.mj.frameworkprocessos.processo.ejb.CaracteristicasDocumentoFacadeUtil

public class CaracteristicasDocumentoFacadeUtil
extends java.lang.Object

Utility class for CaracteristicasDocumentoFacade.

Version:
${version}
Author:
XDoclet

Constructor Summary
CaracteristicasDocumentoFacadeUtil()
           
 
Method Summary
static java.lang.String generateGUID(java.lang.Object o)
          A 32 byte GUID generator (Globally Unique ID).
static CaracteristicasDocumentoFacadeHome getHome()
          Obtain remote home interface from default initial context
static CaracteristicasDocumentoFacadeHome getHome(java.util.Hashtable environment)
          Obtain remote home interface from parameterised initial context
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaracteristicasDocumentoFacadeUtil

public CaracteristicasDocumentoFacadeUtil()
Method Detail

getHome

public static CaracteristicasDocumentoFacadeHome getHome()
                                                  throws javax.naming.NamingException
Obtain remote home interface from default initial context

Returns:
Home interface for CaracteristicasDocumentoFacade. Lookup using JNDI_NAME
Throws:
javax.naming.NamingException

getHome

public static CaracteristicasDocumentoFacadeHome getHome(java.util.Hashtable environment)
                                                  throws javax.naming.NamingException
Obtain remote home interface from parameterised initial context

Parameters:
environment - Parameters to use for creating initial context
Returns:
Home interface for CaracteristicasDocumentoFacade. Lookup using JNDI_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.