Name

MessageAware

Synopsis

A javax.activation.DataSource object can implement the MessageAware interface to provide a MessageContext object to a DataContentHandler. See MessageContext for more details.

public interface MessageAware {
// Public Instance Methods
   public abstract MessageContext getMessageContext();  
}

Implementations

javax.mail.internet.MimePartDataSource

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.