| java.lang.Object org.objectweb.jonas_lib.naming.factory.URLFactory
URLFactory | public class URLFactory implements ObjectFactory(Code) | | This class provides an implementation of a mail session factory for
sending mail.
author: Florent Benoit |
Field Summary | |
final protected static String | FACTORY_TYPE The Java type for which this factory knows how to create objects. |
Method Summary | |
public Object | getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) Creates a java.net.URL 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 noname is specified. Parameters: nameCtx - the context relative to which the name parameter isspecified, or null if name is relative to the default initial context. Parameters: environment - the possibly null environment that is used increating the object. |
FACTORY_TYPE | final protected static String FACTORY_TYPE(Code) | | The Java type for which this factory knows how to create objects.
|
getObjectInstance | public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception(Code) | | Creates a java.net.URL 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 noname is specified. Parameters: nameCtx - the context relative to which the name parameter isspecified, or null if name is relative to the default initial context. Parameters: environment - the possibly null environment that is used increating the object. a newly created java.net.URL object with the specificconfiguration; null if an object cannot be created. throws: Exception - if this object factory encountered an exceptionwhile attempting to create an object, and no other object factoriesare to be tried. |
|
|