wt.jmx.core.mbeans
Class Emailer.SimpleMultipartProvider
java.lang.Object
wt.jmx.core.mbeans.Emailer.SimpleMultipartProvider
- All Implemented Interfaces:
- Emailer.EmailContentProvider
- Enclosing class:
- Emailer
public static final class Emailer.SimpleMultipartProvider
- extends Object
- implements Emailer.EmailContentProvider
Simple implementation of EmailContentProvider which returns a predesignated
Multipart object. [This class does not leverage the just-in-time aspects
allowed by the EmailContentProvider interface.]
Supported API: true
Extendable: true
|
Method Summary |
Multipart |
getMultipart()
Returns Multipart object specified in constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Emailer.SimpleMultipartProvider
public Emailer.SimpleMultipartProvider(Multipart multipart)
- Construct instance specifying Multipart object.
Supported API: true
- Parameters:
multipart - Multipart object to be returned by getMultipart()
getMultipart
public Multipart getMultipart()
throws Exception
- Returns Multipart object specified in constructor.
Supported API: true
- Specified by:
getMultipart in interface Emailer.EmailContentProvider
- Throws:
Exception