Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.iiop.naming
Class ORBInitialContextFactory

    java.lang.Object
      org.jnp.interfaces.NamingContextFactory
          org.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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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