org.jboss.test.hibernate.ejb.interfaces
Class ProfileServiceUtil

java.lang.Object
  extended byorg.jboss.test.hibernate.ejb.interfaces.ProfileServiceUtil

public class ProfileServiceUtil
extends java.lang.Object

Utility class for ProfileService.


Constructor Summary
ProfileServiceUtil()
           
 
Method Summary
static ProfileServiceHome (src) getHome()
          Obtain remote home interface from default initial context
static ProfileServiceHome (src) getHome(java.util.Hashtable environment)
          Obtain remote home interface from parameterised initial context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileServiceUtil

public ProfileServiceUtil()
Method Detail

getHome

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

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

getHome

public static ProfileServiceHome (src)  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 ProfileService. Lookup using JNDI_NAME
Throws:
javax.naming.NamingException