org.objectweb.jonas_ejb.container.HomeFactory Class Reference

List of all members.

Public Member Functions

Object getObjectInstance (Object refObj, Name name, Context nameCtx, Hashtable env) throws Exception

Detailed Description

This Factory return Home or LocalHome objects to clients. No need to use it in case of RMI Remote Home because Remote References are registered directly in JNDI. This class should be used only for local Home or ServiceEndpointHome
Author:
Guillaume Riviere (Inria)

Definition at line 45 of file HomeFactory.java.


Member Function Documentation

Object org.objectweb.jonas_ejb.container.HomeFactory.getObjectInstance Object  refObj,
Name  name,
Context  nameCtx,
Hashtable  env
throws Exception
 

Used in case of local Home or ServiceEndpointHome

Parameters:
refObj - 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.
env - The possibly null environment that is used in creating the object.
Returns:
ServiceEndpointHome or LocalHome object
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 59 of file HomeFactory.java.

References org.objectweb.jonas_ejb.container.JServiceEndpointHome.logger.


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