4.4.1 Tobj Module

The following table shows the object reference that is returned for each type ID.

Table 4-2 Returned Object References

ID Returned Object Reference for C++ Clients
FactoryFinder FactoryFinder object (Tobj::FactoryFinder)
InterfaceRepository InterfaceRepository object (CORBA::Repository)
NameService CORBA Naming Service (Tobj::NameService)
NotificationService EventChannelFactory object

(CosNotifyChannelAdmin::

EventChannelFactory)

SecuirtyCurrent SecurityCurrent object (SecurityLevel2::Current)
TransactionCurrent OTS Current object (Tobj::TransactionCurrent)
Tobj_SimpleEventsService Oracle Simple Events ChannelFactory object (Tobj_SimpleEvents::

ChannelFactory)

The following table describes the Tobj module exceptions.

Table 4-3 Tobj Module Exceptions

C++ Exception Java Exception Description
Tobj::

InvalidName

com.beasys.Tobj.

InvalidName

Raised if id is not one of the names specified in Table 4-2. On the server, resolve_initial_references also raises InvalidName when SecurityCurrent is passed.
Tobj::

InvalidDomain

com.beasys.Tobj.

InvalidDomain

On the server application, raised if the Oracle Tuxedo server environment is not booted.
CORBA::

NO_PERMISSION

org.omg.CORBA.

NO_PERMISSION

Raised if id is TransactionCurrent or SecurityCurrent and another Bootstrap object in the client owns the Current objects.
BAD_PARAM org.omg.CORBA.

BAD_PARAM

Raised if the object is nil or if the hostname contained in the object does not match the connection.
IMP_LIMIT org.omg.CORBA.

IMP_LIMIT

Raised if the register_callback_port method is called more than once.