| java.lang.Object org.ow2.easybeans.component.mail.factory.AbsJavaMailFactory org.ow2.easybeans.component.mail.factory.JavaMailSessionFactory
Field Summary | |
final public static String | FACTORY_TYPE Type of object created by this factory. |
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. |
FACTORY_TYPE | final public static String FACTORY_TYPE(Code) | | Type of object created by this factory.
|
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 |
|
|