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

ORBInitialContextFactory (JBoss IIOP Plugin API) - JBoss 4.0.1 sp1 iiop API Documentation 英文版文档


org.jboss.iiop.naming
Class ORBInitialContextFactory

java.lang.Object
  extended byorg.jnp.interfaces.NamingContextFactory
      extended byorg.jboss.iiop.naming.ORBInitialContextFactory
All Implemented Interfaces:
InitialContextFactory, ObjectFactory

public class ORBInitialContextFactory
extends org.jnp.interfaces.NamingContextFactory

An ORBInitialContextFactory, that includes the orb in the environment.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Field Summary
static String ORB_INSTANCE
           
 
Constructor Summary
ORBInitialContextFactory()
           
 
Method Summary
 Context getInitialContext(Hashtable env)
           
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
           
protected  void insertORB(Hashtable environment)
           
static void setORB(ORB orb)
          Set the orb
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORB_INSTANCE

public static final String ORB_INSTANCE
See Also:
Constant Field Values
Constructor Detail

ORBInitialContextFactory

public ORBInitialContextFactory()
Method Detail

setORB

public static void setORB(ORB orb)
Set the orb

Parameters:
orb - the orb to use

getInitialContext

public Context getInitialContext(Hashtable env)
                          throws NamingException
Throws:
NamingException

getObjectInstance

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

insertORB

protected void insertORB(Hashtable environment)


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