org.tango.orb
Class ORBManager

java.lang.Object
  extended by org.tango.orb.ORBManager

public final class ORBManager
extends java.lang.Object

Initialize, shutdown the ORB

Author:
ABEILLE

Field Summary
static java.lang.String NODB_POA
          POA for no db device
static java.lang.String OAI_ADDR
          A jacorb system property for IP address on multi-homed host
static java.lang.String SERVER_IMPL_NAME
          impl name for nodb device
 
Method Summary
static org.omg.CORBA.Any createAny()
          Create an Any
static org.omg.CORBA.ORB getOrb()
          Get the ORB
static org.omg.PortableServer.POA getPoa()
          Get the POA
static void init(boolean useDb, java.lang.String adminDeviceName)
          Initialise the ORB
static void shutdown()
          Shutdown the ORB
static void startDetached()
          Start the ORB.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODB_POA

public static final java.lang.String NODB_POA
POA for no db device

See Also:
Constant Field Values

SERVER_IMPL_NAME

public static final java.lang.String SERVER_IMPL_NAME
impl name for nodb device

See Also:
Constant Field Values

OAI_ADDR

public static final java.lang.String OAI_ADDR
A jacorb system property for IP address on multi-homed host

Method Detail

init

public static void init(boolean useDb,
                        java.lang.String adminDeviceName)
                 throws fr.esrf.Tango.DevFailed
Initialise the ORB

Parameters:
useDb - is using tango db
adminDeviceName - admin device name
Throws:
fr.esrf.Tango.DevFailed

createAny

public static org.omg.CORBA.Any createAny()
                                   throws fr.esrf.Tango.DevFailed
Create an Any

Returns:
a Any
Throws:
fr.esrf.Tango.DevFailed

startDetached

public static void startDetached()
Start the ORB. non blocking.


getOrb

public static org.omg.CORBA.ORB getOrb()
                                throws fr.esrf.Tango.DevFailed
Get the ORB

Returns:
the ORB
Throws:
fr.esrf.Tango.DevFailed

getPoa

public static org.omg.PortableServer.POA getPoa()
                                         throws fr.esrf.Tango.DevFailed
Get the POA

Returns:
the POA
Throws:
fr.esrf.Tango.DevFailed

shutdown

public static void shutdown()
Shutdown the ORB



Copyright © 2012-2017. All Rights Reserved.