|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--tyrex.resource.javamail.JavaMailResource
Java Mail resource allows creation of a Session from the Resource Configuration and accessed using the name provided.
| Constructor Summary | |
JavaMailResource(java.lang.Object factory,
java.util.Properties properties)
|
|
| Method Summary | |
void |
destroy()
Called to destory the resource once it is no longer in use. |
java.lang.Object |
getClientFactory()
Instantiates an instance of the mail Session based on the resource configuration provided. |
java.lang.Class |
getClientFactoryClass()
Returns the client connection factory class. |
PoolLimits |
getPoolLimits()
Returns the limits placed on the connection pool. |
PoolMetrics |
getPoolMetrics()
Returns the pool metrics. |
javax.transaction.xa.XAResource |
getXAResource()
Returns the XA resource interface. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public JavaMailResource(java.lang.Object factory,
java.util.Properties properties)
| Method Detail |
public PoolMetrics getPoolMetrics()
ResourcegetPoolMetrics in interface Resourcetyrex.resource.Resourcepublic java.lang.Object getClientFactory()
getClientFactory in interface Resourcetyrex.resource.Resourcepublic java.lang.Class getClientFactoryClass()
ResourcegetClientFactoryClass in interface Resourcetyrex.resource.Resourcepublic javax.transaction.xa.XAResource getXAResource()
ResourcegetXAResource in interface Resourcetyrex.resource.Resourcepublic PoolLimits getPoolLimits()
ResourcegetPoolLimits in interface Resourcetyrex.resource.Resourcepublic void destroy()
ResourceThe application server must render the connection factory inaccessible to the application before calling this method.
destroy in interface Resource
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||