MailServiceMBean Interface

com.bea.p13n.mbeans
MailServiceMBean Interface

public interface MailServiceMBean

    extends ServiceConfigurationMBean

MailService configuration management bean interfaces.


All Superinterfaces
ConfigurationMBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, ServiceConfigurationMBean, WebLogicMBean

Field Summary

   
Fields from interface weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY
 

Method Summary

public boolean
getEnableOrderByWorkaroundForClobs()
Get if 2 statements are used when retrieving email bodies.
public String
getSMTPHost()
Get the SMTP host to use.
public void
setEnableOrderByWorkaroundForClobs(boolean enable)
Set this to true use 2 statements when retrieving email bodies.
public void
setSMTPHost(String host)
Set the SMTP host to use.
 
Methods from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getAttributeStringValue, getComments, getNotes, getSetFields, getXml, getXmlConverter, isDefaultedMBean, isPersistenceEnabled, preDeregister, registerConfigMBean, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, touch, unRegisterConfigMBean
 
Methods from interface javax.management.DynamicMBean
getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributes
 
Methods from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods from interface com.bea.p13n.management.ServiceConfigurationMBean
 
Methods from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
   

Method Detail

getEnableOrderByWorkaroundForClobs() Method

public boolean getEnableOrderByWorkaroundForClobs()
Get if 2 statements are used when retrieving email bodies.

Normally, a SQL UNION statement is used with the email body clob field in the in the select. However, from CR123457, Sybase does not allow a TEXT (a.k.a CLOB) field in a SELECT statement that is used with a UNION or an ORDER BY clause, which the MailService does when retrieving email bodies for view and/or sending (generally via the MailManager command-line tool).

This does not affect in-request, runtime operations such as adding emails to a batch or generating email bodies from web resources.


getSMTPHost() Method

public String getSMTPHost()
Get the SMTP host to use.


setEnableOrderByWorkaroundForClobs(boolean) Method

public void setEnableOrderByWorkaroundForClobs(boolean enable)
Set this to true use 2 statements when retrieving email bodies.

It defaults to false, which works for all currently supported databases except Sybase.

Related Topics

MailServiceMBean.getEnableOrderByWorkaroundForClobs()


setSMTPHost(String) Method

public void setSMTPHost(String host)
Set the SMTP host to use.