org.objectweb.jonas.mail.factory
Class JavaMailMimePartDSResource

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.objectweb.jonas.management.ReconfigDispatcher
          extended by org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
              extended by org.objectweb.jonas.management.j2eemanagement.J2EEResource
                  extended by org.objectweb.jonas.mail.factory.JavaMailResource
                      extended by 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
 
Fields inherited from class org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
J2EE_TYPE_APPLICATION, J2EE_TYPE_SERVER, NAME
 
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher
RECONFIG_TYPE, SAVE_RECONFIG_TYPE
 
Constructor Summary
JavaMailMimePartDSResource(java.lang.String objectName, boolean stateManageable, boolean statisticsProvider, boolean eventProvider, JavaMailMimePartDS mailFactory)
           
 
Method Summary
 java.util.Properties getMimeMessageProperties()
          Get the mimePartDatasource properties.
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.JavaMailResource
getAuthenticationProperties, getFactoryName, getFactoryType, getName, getSessionProperties, notifyReconfiguration, saveConfig, setAuthenticationProperties, setName, setSessionProperties
 
Methods inherited from class org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
getObjectName, isEventProvider, isStateManageable, isStatisticsProvider
 
Methods inherited from class org.objectweb.jonas.management.ReconfigDispatcher
addNotificationListener, getFilter, getHandback, getListener, getNotificationInfo, initLogger, removeNotificationListener, sendReconfigNotification, sendSaveNotification
 
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
 

Field Detail

sequenceNumber

protected long sequenceNumber
Value used as sequence number by reconfiguration notifications

Constructor Detail

JavaMailMimePartDSResource

public JavaMailMimePartDSResource(java.lang.String objectName,
                                  boolean stateManageable,
                                  boolean statisticsProvider,
                                  boolean eventProvider,
                                  JavaMailMimePartDS mailFactory)
Method Detail

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