tyrex.resource.javamail
public class JavaMailConfig extends ResourceConfig
Version: $Revision: 1.1 $
Field Summary | |
---|---|
Properties | _properties |
Method Summary | |
---|---|
void | addProperty(Property aProperty)
Called by Castor and defined in the mapping file to
add each specific property associated with the Session.
|
Object | createFactory()
Called to create a new factory object for the purpose of
configuring it. |
Resource | createResource(TransactionDomain txDomain)
Called to create a new resource from this resource configuration.
|
Enumeration | getProperties() |
setFactory
.
Returns: The factory object (never null)
Throws: ResourceException An error occured while attempting to create a new factory
Parameters: txDomain The transaction domain in which the resource will be used
Returns: The resource
Throws: ResourceException An error occured while attempting to create the resource