org.objectweb.jonas.mail.factory
Class JavaMailMimePartDSResource
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.objectweb.jonas.management.ReconfigDispatcher
org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
org.objectweb.jonas.management.j2eemanagement.J2EEResource
org.objectweb.jonas.mail.factory.JavaMailResource
org.objectweb.jonas.mail.factory.JavaMailMimePartDSResource
- All Implemented Interfaces:
- javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReconfigDispatcherMBean
public class JavaMailMimePartDSResource
- extends JavaMailResource
Field Summary |
protected long |
sequenceNumber
Value used as sequence number by reconfiguration notifications |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
handleNotification, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sequenceNumber
protected long sequenceNumber
- Value used as sequence number by reconfiguration notifications
JavaMailMimePartDSResource
public JavaMailMimePartDSResource(java.lang.String objectName,
boolean stateManageable,
boolean statisticsProvider,
boolean eventProvider,
JavaMailMimePartDS mailFactory)
getMimeMessageProperties
public java.util.Properties getMimeMessageProperties()
- Get the mimePartDatasource properties.
- Returns:
- the mimePartDatasource properties
setMimeMessageProperties
public void setMimeMessageProperties(java.util.Properties props)
- Set the mimePartDatasource properties.
- Parameters:
props
- the mimePartDatasource properties
getSequenceNumber
protected long getSequenceNumber()
- Gets the sequence number for MBeans operations
- Specified by:
getSequenceNumber
in class JavaMailResource
- Returns:
- the sequence number for MBeans operations