jrun.mail
Class MailService
jrunx.kernel.ServiceAdapter
|
+--jrun.mail.MailService
- All Implemented Interfaces:
- MailServiceInterface, MailServiceMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean
- public class MailService
- extends ServiceAdapter
- implements MailServiceMBean, MailServiceInterface
Implementation class for JRun Mail service.
- Author:
- Chris Kintzing
- See Also:
- Serialized Form
| Fields inherited from class jrunx.kernel.ServiceAdapter |
DEFAULT_DEACTIVATED, DEFAULT_DOMAIN, DOMAIN_NAME_SEPARATOR, DOMAIN_NAME_SUFFIX, domainName, jndiBindable, LOGGER_CACHE_TIME, SCHEDULER_SERVICE, SECURITY_MANAGER, server, status, TRANSACTION_MANAGER |
| Methods inherited from class jrunx.kernel.ServiceAdapter |
bind, destroy, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, stop, toString, unbind, unscheduleRunnable, updateStatus |
| Methods inherited from interface jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
JRUN_MAIL_JNDI_CONTEXT
public static final java.lang.String JRUN_MAIL_JNDI_CONTEXT
MailService
public MailService()
init
public void init()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Not every service needs to init, implement it out of convenience.
- Specified by:
init in interface Service- Overrides:
init in class ServiceAdapter
start
public void start()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Every service other than mere data collections should start
- Specified by:
start in interface Service- Overrides:
start in class ServiceAdapter
setMailSessionDefaults
public void setMailSessionDefaults(DefaultSessionInfo info)
- Specified by:
setMailSessionDefaults in interface MailServiceMBean
createMailSession
public void createMailSession(java.lang.String strJndiName,
java.util.Properties xmlAttribs)
throws MailServiceException
- Specified by:
createMailSession in interface MailServiceInterface
removeMailSession
public void removeMailSession(java.lang.String strJndiName)
throws MailServiceException
- Specified by:
removeMailSession in interface MailServiceInterface
Copyright � 2002 Macromedia Corporation. All Rights Reserved.