| java.lang.Object org.ow2.easybeans.component.mail.factory.AbsJavaMailFactory org.ow2.easybeans.component.mail.factory.JavaMailMimePartDataSourceFactory
JavaMailMimePartDataSourceFactory | public class JavaMailMimePartDataSourceFactory extends AbsJavaMailFactory implements ObjectFactory(Code) | | JNDI factory for session factory.
author: Florent BENOIT |
Method Summary | |
public Object | getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable, ?> environment) Creates an object using the location or reference information specified.
Parameters: obj - The possibly null object containing location or referenceinformation that can be used in creating an object. Parameters: name - The name of this object relative to nameCtx ,or null if no name is specified. Parameters: nameCtx - The context relative to which the name parameter is specified, or null if name is relativeto the default initial context. Parameters: environment - The possibly null environment that is used in creatingthe object. |
BCC_RECIPIENTS | final public static String BCC_RECIPIENTS(Code) | | BCC recipients.
|
CC_RECIPIENTS | final public static String CC_RECIPIENTS(Code) | | CC recipients.
|
FACTORY_TYPE | final public static String FACTORY_TYPE(Code) | | Type of object created by this factory.
|
TO_RECIPIENTS | final public static String TO_RECIPIENTS(Code) | | TO recipients.
|
getObjectInstance | public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable, ?> environment) throws Exception(Code) | | Creates an object using the location or reference information specified.
Parameters: obj - The possibly null object containing location or referenceinformation that can be used in creating an object. Parameters: name - The name of this object relative to nameCtx ,or null if no name is specified. Parameters: nameCtx - The context relative to which the name parameter is specified, or null if name is relativeto the default initial context. Parameters: environment - The possibly null environment that is used in creatingthe object. The object created; null if an object cannot be created. exception: Exception - if this object factory encountered an exception |
|
|