CORBA Programming Reference
Returns an object reference to the POA associated with the servant.
class PortableServer
}
{
class ServantBase
{
public:
virtual POA_ptr _default_POA();
}
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.
The default POA associated with the servant.
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.