当前页面:
在线文档首页 >
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
org.jboss.proxy.ejb.IIOPHomeFactory
- All Implemented Interfaces:
- ObjectFactory
- public class IIOPHomeFactory
- extends Object
- implements ObjectFactory
An ObjectFactory
implementation that translates
Reference
s to EJBHome
s back into CORBA
object references. The IIOP proxy factory (IORFactory) binds these
Reference
s in the JRMP/JNDI namespace.
- Version:
- $Revision: 1.1.2.3 $
- Author:
- Francisco Reverbel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IIOPHomeFactory
public IIOPHomeFactory()
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 usednameCtx
- not usedenvironment
- not used
- Returns:
- The EJBHome proxy for the IOR
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.