|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.management.ReconfigDispatcher
org.objectweb.jonas.mail.factory.JMail
org.objectweb.jonas.mail.factory.JMailMimePartDS
This class provides a way for referencing mail session.
Field Summary | |
protected static java.lang.String |
MIMEMESSAGE_BCC
JOnAS-specific property for Mime Messages configuration (mail.bcc) |
protected static java.lang.String |
MIMEMESSAGE_CC
JOnAS-specific property for Mime Messages configuration (mail.cc) |
protected static java.lang.String |
MIMEMESSAGE_SUBJECT
JOnAS-specific property for Mime Messages configuration (mail.subject) |
protected static java.lang.String |
MIMEMESSAGE_TO
JOnAS-specific property for Mime Messages configuration (mail.to) |
protected long |
sequenceNumber
Value used as sequence number by reconfiguration notifications |
Fields inherited from class org.objectweb.jonas.mail.factory.JMail |
authenticationProperties, logger, mailSessionProperties |
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher |
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
Constructor Summary | |
JMailMimePartDS(java.lang.String factoryName,
java.lang.String name,
java.util.Properties mailProperties)
Constructor of a JMimePartDS Object |
Method Summary | |
java.lang.String |
_getType()
Return the type of the factory |
java.util.Properties |
getMimeMessageProperties()
Get the mimePartDatasource properties. |
javax.naming.Reference |
getReference()
Retrieves the Reference of the javax.mail.MimePartDataSource object. |
protected long |
getSequenceNumber()
Gets the sequence number for MBeans operations |
void |
setMimeMessageProperties(java.util.Properties props)
Set the mimePartDatasource properties. |
Methods inherited from class org.objectweb.jonas.mail.factory.JMail |
_getFactoryName, _getName, getAuthenticationProperties, getBytesFromObject, getFactoryName, getFactoryType, getName, getSessionProperties, saveConfig, setAuthenticationProperties, setName, setSessionProperties |
Methods inherited from class org.objectweb.jonas.management.ReconfigDispatcher |
addNotificationListener, getFilter, getHandback, getListener, getNotificationInfo, initLogger, removeNotificationListener, sendReconfigNotification, sendSaveNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.jonas.mail.factory.JMailMBean |
getAuthenticationProperties, getFactoryName, getFactoryType, getName, getSessionProperties, saveConfig, setAuthenticationProperties, setName, setSessionProperties |
Field Detail |
protected static final java.lang.String MIMEMESSAGE_TO
protected static final java.lang.String MIMEMESSAGE_CC
protected static final java.lang.String MIMEMESSAGE_BCC
protected static final java.lang.String MIMEMESSAGE_SUBJECT
protected long sequenceNumber
Constructor Detail |
public JMailMimePartDS(java.lang.String factoryName, java.lang.String name, java.util.Properties mailProperties)
factoryName
- the name of the factory.name
- the name of this object.mailProperties
- properties for configuring this object.Method Detail |
public java.lang.String _getType()
_getType
in class JMail
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
getReference
in class JMail
javax.naming.NamingException
- if a naming exception was encountered while
retrieving the reference.public java.util.Properties getMimeMessageProperties()
getMimeMessageProperties
in interface JMailMimePartDSMBean
public void setMimeMessageProperties(java.util.Properties props)
setMimeMessageProperties
in interface JMailMimePartDSMBean
props
- the authentication properties.protected long getSequenceNumber()
getSequenceNumber
in class JMail
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |