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
Class CorbaORB

    java.lang.Object
      org.jboss.iiop.CorbaORB

public class CorbaORB
extends Object

Singleton class to ensure that all code running in the JBoss VM uses the same ORB instance. The CorbaORBService MBean calls CorbaORB.setInstance() at service creation time, after it creates an ORB instance. Code that runs both in the server VM and in client VM calls CorbaORB.getInstance() to get an ORB.

Version:
  $Revision: 1.6 $
Author:
  Francisco Reverbel

Method Summary
`static ORB` | `getInstance()` This method is called by classes that are used both at the server and at the client side: the handle impl (org.jboss.proxy.ejb.HandleImplIIOP), the home handle impl (org.jboss.proxy.ejb.HomeHandleImplIIOP), and the home factory (org.jboss.proxy.ejb.IIOPHomeFactory).

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getInstance

    public static ORB getInstance()

  This method is called by classes that are used both at the server and at the client side: the handle impl (org.jboss.proxy.ejb.HandleImplIIOP), the home handle impl (org.jboss.proxy.ejb.HomeHandleImplIIOP), and the home factory (org.jboss.proxy.ejb.IIOPHomeFactory). When called by code running in the same VM as the the JBoss server, getInstance() returns the ORB instance used by the CorbaORBService MBean (which previously issued a setInstance() call). Otherwise getInstance() returns an ORB instance obtained with an ORB.init() call.

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.