|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.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
public abstract class JavaMailResource
| Field Summary |
|---|
| 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 | |
|---|---|
JavaMailResource(java.lang.String objectName,
boolean stateManageable,
boolean statisticsProvider,
boolean eventProvider,
JavaMail mailFactory)
JavaMail resource constructor. |
|
| Method Summary | |
|---|---|
java.util.Properties |
getAuthenticationProperties()
Get the authentication properties. |
java.lang.String |
getFactoryName()
Get the name of the factory. |
java.lang.String |
getFactoryType()
Get the type of the factory. |
java.lang.String |
getName()
Get the name of the factory. |
protected abstract long |
getSequenceNumber()
Gets the sequence number for MBeans operations |
java.util.Properties |
getSessionProperties()
Get the session properties. |
protected void |
notifyReconfiguration(java.util.Properties props)
|
void |
saveConfig()
Save updated configuration |
void |
setAuthenticationProperties(java.util.Properties props)
Set the authentication properties. |
void |
setName(java.lang.String name)
Set the name of the factory. |
void |
setSessionProperties(java.util.Properties props)
Set the session properties. |
| 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 |
| Constructor Detail |
|---|
public JavaMailResource(java.lang.String objectName,
boolean stateManageable,
boolean statisticsProvider,
boolean eventProvider,
JavaMail mailFactory)
objectName - MBean ObjectNamestateManageable - statisticsProvider - eventProvider - mailFactory - | Method Detail |
|---|
public java.lang.String getFactoryName()
public java.lang.String getName()
public void setName(java.lang.String name)
name - name of the mail factory.public java.lang.String getFactoryType()
public java.util.Properties getAuthenticationProperties()
public void setAuthenticationProperties(java.util.Properties props)
props - the authentication properties.public java.util.Properties getSessionProperties()
public void setSessionProperties(java.util.Properties props)
props - the Session properties.public void saveConfig()
protected abstract long getSequenceNumber()
protected void notifyReconfiguration(java.util.Properties props)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||