org.jboss.mail
Interface MailServiceMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
MailService

public interface MailServiceMBean
extends org.jboss.system.ServiceMBean

MBean interface.


Field Summary
static javax.management.ObjectName OBJECT_NAME
           
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 Element getConfiguration()
          Configuration for the mail service.
 String getDefaultSender()
           
 String getJNDIName()
           
 String getPOP3ServerHost()
           
 String getSMTPServerHost()
           
 String getStoreProtocol()
           
 String getTransportProtocol()
           
 String getUser()
           
 void setConfiguration(Element element)
          Configuration for the mail service.
 void setJNDIName(String name)
          The JNDI name under which javax.mail.Session objects are bound.
 void setPassword(String password)
          Password used to connect to a mail server
 void setUser(String user)
          User id used to connect to a mail server
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

OBJECT_NAME

static final javax.management.ObjectName OBJECT_NAME
Method Detail

setUser

void setUser(String user)
User id used to connect to a mail server

See Also:
setPassword(java.lang.String)

getUser

String getUser()

setPassword

void setPassword(String password)
Password used to connect to a mail server

See Also:
setUser(java.lang.String)

getConfiguration

Element getConfiguration()
Configuration for the mail service.


setConfiguration

void setConfiguration(Element element)
Configuration for the mail service.


setJNDIName

void setJNDIName(String name)
The JNDI name under which javax.mail.Session objects are bound.


getJNDIName

String getJNDIName()

getStoreProtocol

String getStoreProtocol()

getTransportProtocol

String getTransportProtocol()

getDefaultSender

String getDefaultSender()

getSMTPServerHost

String getSMTPServerHost()

getPOP3ServerHost

String getPOP3ServerHost()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.