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