pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.email
Class QueueItem.MimeMessageWrapper

java.lang.Object
  extended by org.torweg.pulse.email.QueueItem.MimeMessageWrapper
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
QueueItem

public static final class QueueItem.MimeMessageWrapper
extends java.lang.Object
implements java.io.Serializable

wraps a MimeMessage to make it serializable.

Version:
$Revision: 1388 $
Author:
Thomas Weber
See Also:
Serialized Form

Constructor Summary
protected QueueItem.MimeMessageWrapper(javax.mail.internet.MimeMessage m)
          creates a new wrapper.
 
Method Summary
protected  javax.mail.internet.MimeMessage getMessage()
          returns the wrapped MimeMessage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueItem.MimeMessageWrapper

protected QueueItem.MimeMessageWrapper(javax.mail.internet.MimeMessage m)
creates a new wrapper.

Parameters:
m - the message to be wrapped
Method Detail

getMessage

protected javax.mail.internet.MimeMessage getMessage()
returns the wrapped MimeMessage.

Returns:
the wrapped message