| org.objectweb.jonas.management.j2eemanagement.J2EEResource org.objectweb.jonas.mail.factory.JavaMailResource
All known Subclasses: org.objectweb.jonas.mail.factory.JavaMailSessionResource, org.objectweb.jonas.mail.factory.JavaMailMimePartDSResource,
JavaMailResource | abstract public class JavaMailResource extends J2EEResource (Code) | | author: Adriana Danes author: JavaMail resource implementation. |
Constructor Summary | |
public | JavaMailResource(String objectName, boolean stateManageable, boolean statisticsProvider, boolean eventProvider, JavaMail mailFactory) JavaMail resource constructor. |
JavaMailResource | public JavaMailResource(String objectName, boolean stateManageable, boolean statisticsProvider, boolean eventProvider, JavaMail mailFactory)(Code) | | JavaMail resource constructor.
Parameters: objectName - MBean ObjectName Parameters: stateManageable - Parameters: statisticsProvider - Parameters: eventProvider - Parameters: mailFactory - |
getAuthenticationProperties | public Properties getAuthenticationProperties()(Code) | | Get the authentication properties.
properties of the authentication. |
getFactoryName | public String getFactoryName()(Code) | | Get the name of the factory.
the name of the mail factory (the resource name as defined in jonas.properties) |
getFactoryType | public String getFactoryType()(Code) | | Get the type of the factory.
type of the mail factory. |
getName | public String getName()(Code) | | Get the name of the factory.
name of the mail factory. |
getSequenceNumber | abstract protected long getSequenceNumber()(Code) | | Gets the sequence number for MBeans operations
the sequence number for MBeans operations |
getSessionProperties | public Properties getSessionProperties()(Code) | | Get the session properties.
the properties of Session. |
notifyReconfiguration | protected void notifyReconfiguration(Properties props)(Code) | | |
saveConfig | public void saveConfig()(Code) | | Save updated configuration
|
setAuthenticationProperties | public void setAuthenticationProperties(Properties props)(Code) | | Set the authentication properties.
Parameters: props - the authentication properties. |
setName | public void setName(String name)(Code) | | Set the name of the factory.
Parameters: name - name of the mail factory. |
setSessionProperties | public void setSessionProperties(Properties props)(Code) | | Set the session properties.
Parameters: props - the Session properties. |
|
|