e-docs > Tuxedo > Administering a Tuxedo Application at Run Time > CORBA API |
Administering a Tuxedo Application at Run Time |
PortableServer::ServantBase::_default_POA
Synopsis
Returns an object reference to the POA associated with the servant.
C++ Binding
class PortableServer
{
class ServantBase
{
public:
virtual POA_ptr _default_POA();
}
}
Argument
Description
All C++ Servants inherit from PortableServer::ServantBase, so they all inherit the _default_POA function. In this version of BEA Tuxedo there is usually no reason to use _default_POA.
The default implementation of this function returns an object reference to the root POA of the default ORB in this process—the same as the return value of an invocation of ORB::resolve_initial_references("RootPOA"). A C++ servant can override this definition to return the POA of its choice, if desired.
Note: This function is supported only for joint client/servers.
Return Values
The default POA associated with the servant.
POA Current Member Functions
The PortableServer::Current interface, derived from CORBA::Current, provides method implementations with access to the identity of the object on which the method was invoked.