|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.management.javaee.ManagedObject org.ow2.jonas.lib.management.javaee.J2EEManagedObject org.ow2.jonas.lib.management.javaee.J2EEResource org.ow2.jonas.mail.internal.factory.mbean.JavaMailResource
public abstract class JavaMailResource
JSR77 JavaMail Resource base implementation.
Field Summary | |
---|---|
protected JavaMail |
mailFactory
Wrapped managed Java mail factory. |
Fields inherited from class org.ow2.jonas.lib.management.javaee.J2EEManagedObject |
---|
J2EE_TYPE_APPLICATION, J2EE_TYPE_SERVER, NAME |
Fields inherited from class org.ow2.jonas.lib.management.javaee.ManagedObject |
---|
logger |
Constructor Summary | |
---|---|
JavaMailResource(String objectName,
boolean stateManageable,
boolean statisticsProvider,
boolean eventProvider,
JavaMail mailFactory)
JavaMail resource constructor. |
Method Summary | |
---|---|
Properties |
getAuthenticationProperties()
Get the authentication properties. |
String |
getFactoryName()
Get the name of the factory. |
String |
getFactoryType()
Get the type of the factory. |
String |
getName()
Get the name of the factory. |
protected abstract long |
getSequenceNumber()
Gets the sequence number for MBeans operations |
Properties |
getSessionProperties()
Get the session properties. |
protected void |
notifyReconfiguration(Properties props)
|
void |
saveConfig()
Save updated configuration |
void |
setAuthenticationProperties(Properties props)
Set the authentication properties. |
void |
setName(String name)
Set the name of the factory. |
void |
setSessionProperties(Properties props)
Set the session properties. |
Methods inherited from class org.ow2.jonas.lib.management.javaee.J2EEResource |
---|
isJ2eeResourceType |
Methods inherited from class org.ow2.jonas.lib.management.javaee.J2EEManagedObject |
---|
getObjectName, isEventProvider, isStateManageable, isStatisticsProvider, setEventProvider, setObjectName, setStateManageable, setStatisticsProvider |
Methods inherited from class org.ow2.jonas.lib.management.javaee.ManagedObject |
---|
sendNotification, sendReconfigNotification, sendSaveNotification, setModelMBean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JavaMail mailFactory
Constructor Detail |
---|
public JavaMailResource(String objectName, boolean stateManageable, boolean statisticsProvider, boolean eventProvider, JavaMail mailFactory)
objectName
- MBean ObjectNamestateManageable
- statisticsProvider
- eventProvider
- mailFactory
- Method Detail |
---|
public String getFactoryName()
public String getName()
public void setName(String name)
name
- name of the mail factory.public String getFactoryType()
public Properties getAuthenticationProperties()
public void setAuthenticationProperties(Properties props)
props
- the authentication properties.public Properties getSessionProperties()
public void setSessionProperties(Properties props)
props
- the Session properties.protected abstract long getSequenceNumber()
public void saveConfig()
protected void notifyReconfiguration(Properties props)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |