public class MailSessionReference
extends javax.naming.Reference
implements javax.naming.spi.ObjectFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
MailSessionReference.PasswordAuthenticator |
| Constructor and Description |
|---|
MailSessionReference() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getObjectInstance(java.lang.Object ref,
javax.naming.Name arg1,
javax.naming.Context arg2,
java.util.Hashtable arg3)
Create a javax.mail.Session instance based on the information passed in the Reference
|
void |
setPassword(java.lang.String password) |
void |
setProperties(java.util.Properties properties) |
void |
setUser(java.lang.String user) |
public java.lang.Object getObjectInstance(java.lang.Object ref,
javax.naming.Name arg1,
javax.naming.Context arg2,
java.util.Hashtable arg3)
throws java.lang.Exception
getObjectInstance in interface javax.naming.spi.ObjectFactoryref - the Referencearg1 - not usedarg2 - not usedarg3 - not usedjava.lang.ExceptionObjectFactory.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)public void setUser(java.lang.String user)
public void setPassword(java.lang.String password)
public void setProperties(java.util.Properties properties)
Copyright © 2013 FuseSource, Corp.. All Rights Reserved.