|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JavaMailResource(java.lang.Object factory, java.util.Properties properties)
Method Detail |
public PoolMetrics getPoolMetrics()
Resource
getPoolMetrics
in interface Resource
public java.lang.Object getClientFactory()
getClientFactory
in interface Resource
public java.lang.Class getClientFactoryClass()
Resource
getClientFactoryClass
in interface Resource
public javax.transaction.xa.XAResource getXAResource()
Resource
getXAResource
in interface Resource
public PoolLimits getPoolLimits()
Resource
getPoolLimits
in interface Resource
public void destroy()
Resource
The 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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |