org.enableit.tools.email.interfaces
Class EmailUtil

java.lang.Object
  |
  +--org.enableit.tools.email.interfaces.EmailUtil

public class EmailUtil
extends java.lang.Object

Utility class for Email.

Author:
Tim Stephenson.

Constructor Summary
EmailUtil()
           
 
Method Summary
static EmailHome getHome()
          Obtain remote home interface from default initial context
static EmailHome 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

EmailUtil

public EmailUtil()
Method Detail

getHome

public static EmailHome getHome()
                         throws javax.naming.NamingException
Obtain remote home interface from default initial context
Returns:
Home interface for Email. Lookup using JNDI_NAME

getHome

public static EmailHome 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 Email. Lookup using JNDI_NAME


Copyright © 1999-2003 enableIT.org. All Rights Reserved.