tyrex.resource.javamail

Class JavaMailResource

public class JavaMailResource extends Object implements Resource

Java Mail resource allows creation of a Session from the Resource Configuration and accessed using the name provided.

Version: $Revision: 1.1 $

Author: Ashish Agrawal

Constructor Summary
JavaMailResource(Object factory, Properties properties)
Method Summary
voiddestroy()
ObjectgetClientFactory()
Instantiates an instance of the mail Session based on the resource configuration provided.
ClassgetClientFactoryClass()
PoolLimitsgetPoolLimits()
PoolMetricsgetPoolMetrics()
XAResourcegetXAResource()

Constructor Detail

JavaMailResource

public JavaMailResource(Object factory, Properties properties)

Method Detail

destroy

public void destroy()

getClientFactory

public Object getClientFactory()
Instantiates an instance of the mail Session based on the resource configuration provided.

getClientFactoryClass

public Class getClientFactoryClass()

getPoolLimits

public PoolLimits getPoolLimits()

getPoolMetrics

public PoolMetrics getPoolMetrics()

getXAResource

public XAResource getXAResource()
Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.