站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 iiop API Documentation 英文版文档

IIOPHomeFactory (JBoss IIOP Plugin API) - JBoss 3.2.7 iiop API Documentation 英文版文档


org.jboss.proxy.ejb
Class IIOPHomeFactory

java.lang.Object
  extended byorg.jboss.proxy.ejb.IIOPHomeFactory
All Implemented Interfaces:
ObjectFactory

public class IIOPHomeFactory
extends Object
implements ObjectFactory

An ObjectFactory implementation that translates References to EJBHomes back into CORBA object references. The IIOP proxy factory (IORFactory) binds these References in the JRMP/JNDI namespace.

Version:
$Revision: 1.1.2.3 $
Author:
Francisco Reverbel

Constructor Summary
IIOPHomeFactory()
           
 
Method Summary
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
          Lookup the IOR from the Reference and convert into the CORBA object value using the ORB.string_to_object method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IIOPHomeFactory

public IIOPHomeFactory()
Method Detail

getObjectInstance

public Object getObjectInstance(Object obj,
                                Name name,
                                Context nameCtx,
                                Hashtable environment)
                         throws Exception
Lookup the IOR from the Reference and convert into the CORBA object value using the ORB.string_to_object method.

Specified by:
getObjectInstance in interface ObjectFactory
Parameters:
obj - a javax.naming.Reference with a string IOR under the address type IOR.
name - not used
nameCtx - not used
environment - not used
Returns:
The EJBHome proxy for the IOR
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.