org.objectweb.jonas_lib.naming.factory.URLFactory Class Reference

List of all members.

Public Member Functions

Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception

Static Protected Attributes

final String FACTORY_TYPE = "java.net.URL"

Detailed Description

This class provides an implementation of a mail session factory for sending mail.
Author:
Florent Benoit

Definition at line 46 of file URLFactory.java.


Member Function Documentation

Object org.objectweb.jonas_lib.naming.factory.URLFactory.getObjectInstance Object  obj,
Name  name,
Context  nameCtx,
Hashtable  environment
throws Exception
 

Creates a java.net.URL object using the location or reference information specified.

Parameters:
obj the possibly null object containing location or reference information that can be used in creating an object.
name the name of this object relative to nameCtx, or null if no name is specified.
nameCtx the context relative to which the name parameter is specified, or null if name is relative to the default initial context.
environment the possibly null environment that is used in creating the object.
Returns:
a newly created java.net.URL object with the specific configuration; null if an object cannot be created.
Exceptions:
Exception if this object factory encountered an exception while attempting to create an object, and no other object factories are to be tried.

Definition at line 71 of file URLFactory.java.

References org.objectweb.jonas_lib.naming.factory.URLFactory.FACTORY_TYPE.


Member Data Documentation

final String org.objectweb.jonas_lib.naming.factory.URLFactory.FACTORY_TYPE = "java.net.URL" [static, protected]
 

The Java type for which this factory knows how to create objects.

Definition at line 51 of file URLFactory.java.

Referenced by org.objectweb.jonas_lib.naming.factory.URLFactory.getObjectInstance().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:13:09 2005 for JOnAS by  doxygen 1.3.9.1