CORBA Programming Reference
    
  
  
 
  
  
  
   
 
  
   
   
   
   
   
  
   
   
    Explicit Activation
     Usage Notes
     Caution to Users
    Self Deactivation
   
    The Normal Case
    Special Cases
   
    
     Note On Use of Constructors and Destructors for CORBA Objects
  
   
   
   
   
   
   
   
   
  
   
    MIB Support
   
    IIOP Client Failover Limitations
   
  
  
  
   
    
     C++ Declarations
   
    
     C++ Declarations (in Server.h)
   
   
   
   
   
   
   
    
     C++ Declaration (in Tobj_ServantBase.h)
   
   
   
   
   
   
    
     Usage Notes
   
   
   
   
    
     Problem Statement
     Workaround
   
   
   
   
   
   
   
   
   
   
  
   
   
    Example
   
   
 
  
  
  
   
   
   
  
   
   
   
   
   
   
   
   
   
   
   
   
   
   
  
   
  
   
   
   
   
   
    IOR URL Scheme
     corbaloc URL Scheme
     corbaname URL Scheme
   
   
   
    Restrictions
 
  
  
   
   
    C++ Mapping
   
    CORBAservices Naming Service Module OMG IDL
    CORBAservices Life Cycle Service Module OMG IDL
    Tobj Module OMG IDL
    Locating Factories in Another Domain
    Why Use Oracle Tuxedo CORBA Extensions?
   
    Names Library Interface Pseudo OMG IDL
     Creating a Library Name Component
     Creating a Library Name
     The LNameComponent Interface
     The LName Interface
     Destroying a Library Name Component Pseudo-Object
     Inserting a Name Component
     Getting the ith Name Component
     Deleting a Name Component
     Number of Name Components
     Testing for Equality
     Testing for Order
     Producing an OMG IDL Form
     Translating an IDL Form
     Destroying a Library Name Pseudo-Object
    C++ Mapping
    Java Mapping
  
   
   
   
   
   
  
   
   
   
   
   
  
   
    Registering a Reference to a Factory Object
    Obtaining a Reference to a FactoryFinder Object Using the CosLifeCycle::FactoryFinder Interface
    Obtaining a Reference to a FactoryFinder Object Using the Extensions Bootstrap object
   
    Obtaining One Factory Using Tobj::FactoryFinder
    Obtaining One or More Factories Using Tobj::FactoryFinder
 
 
 
 
 
  
   
   
  
  
  
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 
  
   
   
   
    C++ Example of Inheritance from Skeletons
   
   
   
   
    Using OracleWrapper Callbacks With C++
  
   
   
   
   
   
   
   
   
   
 
 
  
   
    Basic Data Types
    Complex Data Types
   
   
   
   
   
   
    Fixed-length Versus Variable-length Structs
    Member Mapping
    Var
    Out
   
    Union Member Accessor and Modifier Member Function Mapping
    Var
    Out
    Member Functions
   
    Sequence Element Mapping
    Vars
    Out
    Member Functions
   
    Array Slice
    Array Element Mapping
    Vars
    Out
    Allocation Member Functions
   
    Member Mapping
    Var
    Out
    Member Functions
   
   
   
   
   
   
    Argument Mapping
   
    Skeleton Derivation from Object
   
   
   
   
   
   
    Argument Mapping
   
    Handling Typed Values
    Insertion into Any
    Extraction from Any
    Distinguishing Boolean, Octet, Char, and Bounded Strings
    Widening to Object
    Handling Untyped Values
    Any Constructors, Destructor, Assignment Operator
     The Any Class
   
    Overview
    Architecture
    Benefits
    Valuetype Example
  
  
   
   
   
    out Classes