org.jboss.mail
Interface MailServiceMBean
- All Superinterfaces:
- Service, ServiceMBean
- All Known Implementing Classes:
- MailService
- public interface MailServiceMBean
- extends ServiceMBean
MBean interface for the mail service.
- Version:
- $Revision: 1.1 $
- Author:
- Simone Bordet (simone.bordet@compaq.com)
- See Also:
Method Summary |
void |
setConfigurationFile(java.lang.String file)
File name of the configuration mail file used by JavaMail to send mail. |
void |
setJNDIName(java.lang.String name)
The JNDI name under the java:/ namespace to which javax.mail.Session objects are
bound. |
void |
setPassword(java.lang.String password)
Password used to connect to a mail server |
void |
setUser(java.lang.String user)
User id used to connect to a mail server |
OBJECT_NAME
public static final java.lang.String OBJECT_NAME
setUser
public void setUser(java.lang.String user)
- User id used to connect to a mail server
- See Also:
setPassword(java.lang.String)
setPassword
public void setPassword(java.lang.String password)
- Password used to connect to a mail server
- See Also:
setUser(java.lang.String)
setConfigurationFile
public void setConfigurationFile(java.lang.String file)
- File name of the configuration mail file used by JavaMail to send mail.
This file normally reside in the configuration directory of JBoss, and
contains name-value pairs (such as "mail.transport.protocol = smtp") as
specified in the JavaMail specification.
setJNDIName
public void setJNDIName(java.lang.String name)
- The JNDI name under the java:/ namespace to which javax.mail.Session objects are
bound.
Copyright © 2000 The JBoss Organization. All Rights Reserved.