com.liferay.portal.kernel.jndi
Class PortalJNDIUtil

java.lang.Object
  extended by com.liferay.portal.kernel.jndi.PortalJNDIUtil

public class PortalJNDIUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
PortalJNDIUtil()
           
 
Method Summary
static javax.sql.DataSource getDataSource()
           
static javax.mail.Session getMailSession()
           
static PortalJNDI getPortalJNDI()
           
 void setPortalJNDI(PortalJNDI portalJNDI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalJNDIUtil

public PortalJNDIUtil()
Method Detail

getDataSource

public static javax.sql.DataSource getDataSource()
                                          throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getMailSession

public static javax.mail.Session getMailSession()
                                         throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getPortalJNDI

public static PortalJNDI getPortalJNDI()

setPortalJNDI

public void setPortalJNDI(PortalJNDI portalJNDI)